3
0
Fork 0
forked from mirrors/nixpkgs

nix-update: 0.1 -> 0.2

https://github.com/Mic92/nix-update/releases/tag/0.2
This commit is contained in:
zowoq 2020-11-25 07:29:02 +10:00
parent 6f0c00907b
commit 6794b7eed6

View file

@ -1,27 +1,27 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
, nix
, nixFlakes
, nix-prefetch
}:
buildPythonApplication rec {
pname = "nix-update";
version = "0.1";
version = "0.2";
src = fetchFromGitHub {
owner = "Mic92";
repo = pname;
rev = version;
sha256 = "0mw31n7kqfr7fskkxp58b0wprxj1pj6n1zs6ymvvl548gs5rgn2s";
sha256 = "12fsxy2rv2dgk8l10ymp10j01jkcbn9w0fv5iyb5db85q4xsrsm5";
};
makeWrapperArgs = [
"--prefix" "PATH" ":" (lib.makeBinPath [ nix nix-prefetch ])
"--prefix" "PATH" ":" (lib.makeBinPath [ nixFlakes nix-prefetch ])
];
checkPhase = ''
$out/bin/nix-update --help
$out/bin/nix-update --help >/dev/null
'';
meta = with lib; {