nix-review: 0.2.0 -> 0.3.0

This commit is contained in:
Jörg Thalheim 2018-06-28 22:07:56 +01:00
parent c876db629d
commit 23aeb0d8ed

View file

@ -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; {