zowoq 2023-03-22 19:53:57 +10:00
parent 4dc8a5c2dc
commit 502eaa216c
2 changed files with 9 additions and 6 deletions

View File

@ -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 = ''

View File

@ -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 { };