forked from mirrors/nixpkgs
nix-review: init at 0.1.0
This commit is contained in:
parent
df57003e96
commit
96b106bc5c
31
pkgs/tools/package-management/nix-review/default.nix
Normal file
31
pkgs/tools/package-management/nix-review/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, nix
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "nix-review";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mic92";
|
||||
repo = "nix-review";
|
||||
rev = version;
|
||||
sha256 = "1kafp3x95dklydy5224w0a292rd8pv30lz6z5ddk6y7zg3fsxrcr";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram $out/bin/nix-review --prefix PATH : ${nix}/bin
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -20542,6 +20542,8 @@ with pkgs;
|
|||
|
||||
nix-repl = callPackage ../tools/package-management/nix-repl { nix = nix1; };
|
||||
|
||||
nix-review = callPackage ../tools/package-management/nix-review { };
|
||||
|
||||
nix-serve = callPackage ../tools/package-management/nix-serve { };
|
||||
|
||||
nixos-artwork = callPackage ../data/misc/nixos-artwork { };
|
||||
|
|
Loading…
Reference in a new issue