Merge pull request #42744 from Mic92/nix-review

nix-review: 0.2.0 -> 0.3.0
This commit is contained in:
Frederik Rietdijk 2018-06-29 09:08:24 +02:00 committed by GitHub
commit f67573e7a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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