nix-review: 0.2.0 -> 0.3.0
This commit is contained in:
parent
c876db629d
commit
23aeb0d8ed
@ -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