1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

nix-review: 0.4.0 -> 0.5.0 (#45267)

This commit is contained in:
Jörg Thalheim 2018-08-17 17:49:32 +01:00 committed by xeji
parent 876a40d150
commit fb8d1927a0

View file

@ -3,27 +3,23 @@
, fetchFromGitHub
, nix
, git
, makeWrapper
, lib
}:
python3.pkgs.buildPythonApplication rec {
pname = "nix-review";
version = "0.4.0";
version = "0.5.0";
src = fetchFromGitHub {
owner = "Mic92";
repo = "nix-review";
rev = version;
sha256 = "0lfwikcxnjjb10ssawkfgq7k8i86lsdcn0c0plwi9hgpxl2b52mp";
sha256 = "0ncifmp90870v6r651p92wbvpayfblm5k9nxikryjaj1fnvd2np3";
};
buildInputs = [ makeWrapper ];
preFixup = ''
wrapProgram $out/bin/nix-review --prefix PATH : ${stdenv.lib.makeBinPath [
git nix
]}
'';
makeWrapperArgs = [
"--prefix" "PATH" ":" "${lib.makeBinPath [ nix git ]}"
];
meta = with stdenv.lib; {
description = "Review pull-requests on https://github.com/NixOS/nixpkgs";