3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management/nixpkgs-review/default.nix

32 lines
664 B
Nix
Raw Normal View History

{ lib
2018-03-28 00:15:38 +01:00
, python3
, fetchFromGitHub
2021-05-21 14:23:52 +01:00
, nixUnstable
2018-06-28 22:07:56 +01:00
, git
2018-03-28 00:15:38 +01:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "nixpkgs-review";
version = "2.6.0";
2018-03-28 00:15:38 +01:00
src = fetchFromGitHub {
owner = "Mic92";
repo = "nixpkgs-review";
2018-03-28 00:15:38 +01:00
rev = version;
sha256 = "sha256-096oSvc9DidURGKE0FNEBOQz82+RGg6aJo8o9HhaSp0=";
2018-03-28 00:15:38 +01:00
};
2018-08-17 17:49:32 +01:00
makeWrapperArgs = [
2021-05-21 14:23:52 +01:00
"--prefix" "PATH" ":" (lib.makeBinPath [ nixUnstable git ])
2018-08-17 17:49:32 +01:00
];
2018-03-28 00:15:38 +01:00
doCheck = false;
meta = with lib; {
2018-03-28 00:15:38 +01:00
description = "Review pull-requests on https://github.com/NixOS/nixpkgs";
homepage = "https://github.com/Mic92/nixpkgs-review";
2018-03-28 00:15:38 +01:00
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}