forked from mirrors/nixpkgs
Merge pull request #38430 from Mic92/nix-review
nix-review: init at 0.1.0
This commit is contained in:
commit
4f00c380f5
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 ];
|
||||
};
|
||||
}
|
|
@ -20551,6 +20551,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