ec92d4d331
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
31 lines
664 B
Nix
31 lines
664 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
, nixUnstable
|
|
, git
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "nixpkgs-review";
|
|
version = "2.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Mic92";
|
|
repo = "nixpkgs-review";
|
|
rev = version;
|
|
sha256 = "sha256-096oSvc9DidURGKE0FNEBOQz82+RGg6aJo8o9HhaSp0=";
|
|
};
|
|
|
|
makeWrapperArgs = [
|
|
"--prefix" "PATH" ":" (lib.makeBinPath [ nixUnstable git ])
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Review pull-requests on https://github.com/NixOS/nixpkgs";
|
|
homepage = "https://github.com/Mic92/nixpkgs-review";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.mic92 ];
|
|
};
|
|
}
|