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