depot/third_party/nixpkgs/pkgs/tools/package-management/nixpkgs-review/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

31 lines
690 B
Nix

{ lib
, python3
, fetchFromGitHub
, nixUnstable
, git
}:
python3.pkgs.buildPythonApplication rec {
pname = "nixpkgs-review";
version = "2.6.2";
src = fetchFromGitHub {
owner = "Mic92";
repo = "nixpkgs-review";
rev = version;
sha256 = "0991jz2l834pyzwcrkvjf3wlp122fkkz6avs4j5n9idv549c5xc0";
};
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 = with maintainers; [ mic92 SuperSandro2000 ];
};
}