Skip to content

Commit

Permalink
nix-update: 0.15.1 -> 0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zowoq committed Mar 22, 2023
1 parent 4dc8a5c commit 502eaa2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 6 additions & 5 deletions pkgs/tools/package-management/nix-update/default.nix
Original file line number Diff line number Diff line change
@@ -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 = ''
Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };

Expand Down

0 comments on commit 502eaa2

Please sign in to comment.