3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management/nixpkgs-review/default.nix
Bernardo Meurer a942e10a22
nixpkgs-review: use nix (2.4)
Follow-up to #144197 since nixUnstable is no longer for many new
features.
2021-11-09 11:37:25 -08:00

32 lines
673 B
Nix

{ lib
, python3
, fetchFromGitHub
, nix
, git
}:
python3.pkgs.buildPythonApplication rec {
pname = "nixpkgs-review";
version = "2.6.3";
src = fetchFromGitHub {
owner = "Mic92";
repo = "nixpkgs-review";
rev = version;
sha256 = "sha256-DzqttjYkCSgsHjF1YN93zioGpTGDm9H0F8JzKmHPHro=";
};
makeWrapperArgs = [
"--prefix" "PATH" ":" "${lib.makeBinPath [ nix 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 ];
};
}