mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
f6d6e5dcb5
- also accept the full url of pull request i.e. https://github.com/NixOS/nixpkgs/pull/54323 - stream-parse nix-env's eval output - fix logs for failed builds issued by remote builders - prepare code for overlays like: https://github.com/NixOS/nixpkgs/pull/53934
31 lines
634 B
Nix
31 lines
634 B
Nix
{ stdenv
|
|
, python3
|
|
, fetchFromGitHub
|
|
, nix
|
|
, git
|
|
, lib
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "nix-review";
|
|
version = "1.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Mic92";
|
|
repo = "nix-review";
|
|
rev = version;
|
|
sha256 = "0mlcr4iscw43m04sby1m4i58fqv5c1qq1vkbgg2wgr0rpr0rf0ik";
|
|
};
|
|
|
|
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/nix-review;
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.mic92 ];
|
|
};
|
|
}
|