3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management/nixpkgs-review/default.nix
2020-04-27 17:37:06 +01:00

31 lines
645 B
Nix

{ stdenv
, python3
, fetchFromGitHub
, nix
, git
, lib
}:
python3.pkgs.buildPythonApplication rec {
pname = "nixpkgs-review";
version = "2.3.1";
src = fetchFromGitHub {
owner = "Mic92";
repo = "nixpkgs-review";
rev = version;
sha256 = "1v988jsxx2r82q6mf3503130cny088hin2as00yi26jzxjkrjcli";
};
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/nixpkgs-review";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}