nix-update: 0.1 -> 0.2
https://github.com/Mic92/nix-update/releases/tag/0.2
This commit is contained in:
parent
6f0c00907b
commit
6794b7eed6
1 changed files with 5 additions and 5 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue