From 502eaa216c8474f643c165d6bf2c2fd2bbabf532 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Wed, 22 Mar 2023 19:53:57 +1000 Subject: [PATCH] nix-update: 0.15.1 -> 0.16.0 Diff: https://github.com/Mic92/nix-update/compare/0.15.1...0.16.0 Changelog: https://github.com/Mic92/nix-update/releases/tag/0.16.0 --- pkgs/tools/package-management/nix-update/default.nix | 11 ++++++----- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/package-management/nix-update/default.nix b/pkgs/tools/package-management/nix-update/default.nix index 8b8e6d811d53b..81d518e1b24c9 100644 --- a/pkgs/tools/package-management/nix-update/default.nix +++ b/pkgs/tools/package-management/nix-update/default.nix @@ -1,25 +1,26 @@ { lib -, buildPythonApplication +, python3 , fetchFromGitHub , nix +, nix-prefetch-git , nixpkgs-fmt , nixpkgs-review }: -buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "nix-update"; - version = "0.15.1"; + version = "0.16.0"; format = "setuptools"; src = fetchFromGitHub { owner = "Mic92"; repo = pname; rev = version; - sha256 = "sha256-AYw2czg8HwA/ATQZO0snfb5GRsz77J6cPGDQ8b4W6AI="; + hash = "sha256-4Hrumb4c0861Aorzfk0eM3++XiWkGopnMuIdb+MTKlo="; }; makeWrapperArgs = [ - "--prefix" "PATH" ":" (lib.makeBinPath [ nix nixpkgs-fmt nixpkgs-review ]) + "--prefix" "PATH" ":" (lib.makeBinPath [ nix nix-prefetch-git nixpkgs-fmt nixpkgs-review ]) ]; checkPhase = '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f135e31d6c5f1..57dbd32bc7d4c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -38425,7 +38425,9 @@ with pkgs; nix-query-tree-viewer = callPackage ../tools/nix/nix-query-tree-viewer { }; - nix-update = python3Packages.callPackage ../tools/package-management/nix-update { }; + nix-update = callPackage ../tools/package-management/nix-update { + python3 = python311; + }; nix-update-source = callPackage ../tools/package-management/nix-update-source { };