5b452a2f76
fix cleanup issue: https://github.com/Mic92/nix-review/issues/10
30 lines
634 B
Nix
30 lines
634 B
Nix
{ stdenv
|
|
, python3
|
|
, fetchFromGitHub
|
|
, nix
|
|
, git
|
|
, lib
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "nix-review";
|
|
version = "0.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Mic92";
|
|
repo = "nix-review";
|
|
rev = version;
|
|
sha256 = "0csd7dkdv0csc63dz1h08c8xifxwv5fdz5dyk37sr6vh1ccjdapi";
|
|
};
|
|
|
|
makeWrapperArgs = [
|
|
"--prefix" "PATH" ":" "${lib.makeBinPath [ nix git ]}"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Review pull-requests on https://github.com/NixOS/nixpkgs";
|
|
homepage = https://github.com/Mic92/nix-review;
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.mic92 ];
|
|
};
|
|
}
|