nixpkgs/pkgs/tools/package-management/nixpkgs-review/default.nix

31 lines
643 B
Nix
Raw Normal View History

2018-03-27 23:15:38 +00:00
{ stdenv
, python3
, fetchFromGitHub
, nix
2018-06-28 21:07:56 +00:00
, git
2018-08-17 16:49:32 +00:00
, lib
2018-03-27 23:15:38 +00:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "nixpkgs-review";
version = "2.1.1";
2018-03-27 23:15:38 +00:00
src = fetchFromGitHub {
owner = "Mic92";
repo = "nixpkgs-review";
2018-03-27 23:15:38 +00:00
rev = version;
sha256 = "0rx0ld2ihsvlr1yiap5cq7h227jr79zf3xhkninh2m00x384s6bd";
2018-03-27 23:15:38 +00:00
};
2018-08-17 16:49:32 +00:00
makeWrapperArgs = [
2019-09-08 23:38:31 +00:00
"--prefix" "PATH" ":" (lib.makeBinPath [ nix git ])
2018-08-17 16:49:32 +00:00
];
2018-03-27 23:15:38 +00:00
meta = with stdenv.lib; {
description = "Review pull-requests on https://github.com/NixOS/nixpkgs";
homepage = https://github.com/Mic92/nixpkgs-review;
2018-03-27 23:15:38 +00:00
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}