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

31 lines
634 B
Nix
Raw Normal View History

2018-03-27 16:15:38 -07:00
{ stdenv
, python3
, fetchFromGitHub
, nix
2018-06-28 14:07:56 -07:00
, git
2018-08-17 09:49:32 -07:00
, lib
2018-03-27 16:15:38 -07:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "nix-review";
version = "0.6.1";
2018-03-27 16:15:38 -07:00
src = fetchFromGitHub {
owner = "Mic92";
repo = "nix-review";
rev = version;
sha256 = "0ggw90zp40mms4hpphcn1vy1764rbvl2ix45h26v0wkn32cbqn49";
2018-03-27 16:15:38 -07:00
};
2018-08-17 09:49:32 -07:00
makeWrapperArgs = [
"--prefix" "PATH" ":" "${lib.makeBinPath [ nix git ]}"
];
2018-03-27 16:15:38 -07: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 ];
};
}