2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-03-28 01:15:38 +02:00
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
2021-05-21 15:23:52 +02:00
|
|
|
, nixUnstable
|
2018-06-28 23:07:56 +02:00
|
|
|
, git
|
2018-03-28 01:15:38 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2019-12-22 10:21:09 +01:00
|
|
|
pname = "nixpkgs-review";
|
2021-06-14 18:58:11 +02:00
|
|
|
version = "2.6.1";
|
2018-03-28 01:15:38 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Mic92";
|
2019-12-22 10:21:09 +01:00
|
|
|
repo = "nixpkgs-review";
|
2018-03-28 01:15:38 +02:00
|
|
|
rev = version;
|
2021-06-14 18:58:11 +02:00
|
|
|
sha256 = "sha256-wDGmkydBLb3Wij1hjWExgHxva/03vJFqAK5zGH9yUn4=";
|
2018-03-28 01:15:38 +02:00
|
|
|
};
|
|
|
|
|
2018-08-17 18:49:32 +02:00
|
|
|
makeWrapperArgs = [
|
2021-05-21 15:23:52 +02:00
|
|
|
"--prefix" "PATH" ":" (lib.makeBinPath [ nixUnstable git ])
|
2018-08-17 18:49:32 +02:00
|
|
|
];
|
2018-03-28 01:15:38 +02:00
|
|
|
|
2021-04-21 00:30:26 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-03-28 01:15:38 +02:00
|
|
|
description = "Review pull-requests on https://github.com/NixOS/nixpkgs";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/Mic92/nixpkgs-review";
|
2018-03-28 01:15:38 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|