2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-03-28 00:15:38 +01:00
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
2021-11-09 19:37:23 +00:00
|
|
|
, nix
|
2018-06-28 22:07:56 +01:00
|
|
|
, git
|
2018-03-28 00:15:38 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2019-12-22 09:21:09 +00:00
|
|
|
pname = "nixpkgs-review";
|
2021-12-02 08:45:28 +00:00
|
|
|
version = "2.6.4";
|
2018-03-28 00:15:38 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Mic92";
|
2019-12-22 09:21:09 +00:00
|
|
|
repo = "nixpkgs-review";
|
2018-03-28 00:15:38 +01:00
|
|
|
rev = version;
|
2021-12-02 08:45:28 +00:00
|
|
|
sha256 = "sha256-6vKMaCTilPXd8K3AuLqtYInVyyFhdun0o9cX1WRMmWo=";
|
2018-03-28 00:15:38 +01:00
|
|
|
};
|
|
|
|
|
2018-08-17 17:49:32 +01:00
|
|
|
makeWrapperArgs = [
|
2021-11-09 19:37:23 +00:00
|
|
|
"--prefix" "PATH" ":" "${lib.makeBinPath [ nix git ]}"
|
2018-08-17 17:49:32 +01:00
|
|
|
];
|
2018-03-28 00:15:38 +01:00
|
|
|
|
2021-04-20 23:30:26 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-28 00:15:38 +01:00
|
|
|
description = "Review pull-requests on https://github.com/NixOS/nixpkgs";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Mic92/nixpkgs-review";
|
2018-03-28 00:15:38 +01:00
|
|
|
license = licenses.mit;
|
2021-07-29 14:30:00 +01:00
|
|
|
maintainers = with maintainers; [ mic92 SuperSandro2000 ];
|
2018-03-28 00:15:38 +01:00
|
|
|
};
|
|
|
|
}
|