gup: 0.7.0 -> 0.8.0
This commit is contained in:
parent
141b2b111d
commit
e3cf1c63ef
@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchFromGitHub, nix-update-source, lib, python3
|
||||
, which, runtimeShell, pychecker ? null }:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.7.0";
|
||||
version = "0.8.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "timbertson";
|
||||
repo = "gup";
|
||||
rev = "version-0.7.0";
|
||||
sha256 = "1pwnmlq2pgkkln9sgz4wlb9dqlqw83bkf105qljnlvggc21zm3pv";
|
||||
rev = "version-0.8.0";
|
||||
sha256 = "1zjd76jyb5zc9w3l368723bjmxjl05s096g8ipwncfks1p9hdgf3";
|
||||
};
|
||||
pname = "gup";
|
||||
nativeBuildInputs = [ python3 which pychecker ];
|
||||
@ -18,20 +18,23 @@ stdenv.mkDerivation rec {
|
||||
mkdir $out
|
||||
cp -r python/bin $out/bin
|
||||
'';
|
||||
passthru.updateScript = ''
|
||||
#!${runtimeShell}
|
||||
set -e
|
||||
echo
|
||||
cd ${toString ./.}
|
||||
${nix-update-source}/bin/nix-update-source \
|
||||
--prompt version \
|
||||
--replace-attr version \
|
||||
--set owner timbertson \
|
||||
--set repo gup \
|
||||
--set type fetchFromGitHub \
|
||||
--set rev 'version-{version}' \
|
||||
--modify-nix default.nix
|
||||
'';
|
||||
passthru.updateScript = [
|
||||
runtimeShell
|
||||
"-c"
|
||||
''
|
||||
set -e
|
||||
echo
|
||||
cd ${toString ./.}
|
||||
${nix-update-source}/bin/nix-update-source \
|
||||
--prompt version \
|
||||
--replace-attr version \
|
||||
--set owner timbertson \
|
||||
--set repo gup \
|
||||
--set type fetchFromGitHub \
|
||||
--set rev 'version-{version}' \
|
||||
--modify-nix default.nix
|
||||
''
|
||||
];
|
||||
meta = {
|
||||
inherit (src.meta) homepage;
|
||||
description = "A better make, inspired by djb's redo";
|
||||
|
Loading…
Reference in New Issue
Block a user