Merge pull request #120109 from zowoq/nix-update

nix-update: 0.3.2 -> 0.4.0
This commit is contained in:
Jörg Thalheim 2021-04-21 22:53:45 +01:00 committed by GitHub
commit f73da2880a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,21 +3,23 @@
, fetchFromGitHub , fetchFromGitHub
, nixFlakes , nixFlakes
, nix-prefetch , nix-prefetch
, nixpkgs-fmt
, nixpkgs-review
}: }:
buildPythonApplication rec { buildPythonApplication rec {
pname = "nix-update"; pname = "nix-update";
version = "0.3.2"; version = "0.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Mic92"; owner = "Mic92";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1ykxr0yah7zl06igm7wiji9zx3y0xpjc37hbfhn6gnir6ssa0kqp"; sha256 = "sha256-n3YuNypKFaBtO5Fhf7Z3Wgh0+WH5bQWR0W0uHCYKtuY=";
}; };
makeWrapperArgs = [ makeWrapperArgs = [
"--prefix" "PATH" ":" (lib.makeBinPath [ nixFlakes nix-prefetch ]) "--prefix" "PATH" ":" (lib.makeBinPath [ nixFlakes nix-prefetch nixpkgs-fmt nixpkgs-review ])
]; ];
checkPhase = '' checkPhase = ''