mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #42744 from Mic92/nix-review
nix-review: 0.2.0 -> 0.3.0
This commit is contained in:
commit
f67573e7a0
@ -2,24 +2,27 @@
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, nix
|
||||
, git
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "nix-review";
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mic92";
|
||||
repo = "nix-review";
|
||||
rev = version;
|
||||
sha256 = "138f9m2c8fwpvn3kv5q7845ffi1pjbqxcs44aych4832i0pn6jaf";
|
||||
sha256 = "0dv6hzmfqyhfi6zzjm10nzzqiy2wyfhiksm1cd4fznq0psxaihfj";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram $out/bin/nix-review --prefix PATH : ${nix}/bin
|
||||
wrapProgram $out/bin/nix-review --prefix PATH : ${stdenv.lib.makeBinPath [
|
||||
git nix
|
||||
]}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user