mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
31 lines
643 B
Nix
31 lines
643 B
Nix
{ stdenv
|
|
, python3
|
|
, fetchFromGitHub
|
|
, nix
|
|
, git
|
|
, lib
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "nixpkgs-review";
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Mic92";
|
|
repo = "nixpkgs-review";
|
|
rev = version;
|
|
sha256 = "0rx0ld2ihsvlr1yiap5cq7h227jr79zf3xhkninh2m00x384s6bd";
|
|
};
|
|
|
|
makeWrapperArgs = [
|
|
"--prefix" "PATH" ":" (lib.makeBinPath [ nix git ])
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Review pull-requests on https://github.com/NixOS/nixpkgs";
|
|
homepage = https://github.com/Mic92/nixpkgs-review;
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.mic92 ];
|
|
};
|
|
}
|