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

31 lines
634 B
Nix
Raw Normal View History

2018-03-28 00:15:38 +01:00
{ stdenv
, python3
, fetchFromGitHub
, nix
2018-06-28 22:07:56 +01:00
, git
2018-08-17 17:49:32 +01:00
, lib
2018-03-28 00:15:38 +01:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "nix-review";
2019-03-20 11:16:22 +00:00
version = "2.0.0";
2018-03-28 00:15:38 +01:00
src = fetchFromGitHub {
owner = "Mic92";
repo = "nix-review";
rev = version;
2019-03-20 11:16:22 +00:00
sha256 = "1hichipf02yz9n2n1fnky5rm9wxwcd04xlr0y05y78ixw8xb5ah0";
2018-03-28 00:15:38 +01:00
};
2018-08-17 17:49:32 +01:00
makeWrapperArgs = [
"--prefix" "PATH" ":" "${lib.makeBinPath [ nix git ]}"
];
2018-03-28 00:15:38 +01:00
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 ];
};
}