Revert "gup: 0.5.5 -> 0.6.0 and derivation update"

This reverts commit a59c3038cd due to
use of importJSON.
This commit is contained in:
Eelco Dolstra
2017-01-30 11:44:15 +01:00
parent c20cc6d0b3
commit 12dd086c39
4 changed files with 20 additions and 59 deletions
@@ -1,21 +1,21 @@
{ stdenv, fetchFromGitHub, lib, pythonPackages, nix-update-source, curl }:
{ stdenv, fetchFromGitHub, lib, python, which }:
let
version = "0.5.5";
src = fetchFromGitHub {
sha256 = "12yv0j333z6jkaaal8my3jx3k4ml9hq8ldis5zfvr8179d4xah7q";
rev = "version-${version}";
repo = "gup";
owner = "timbertson";
};
in
import ./build.nix
{ inherit stdenv lib pythonPackages; }
{ inherit (nix-update-source.fetch ./src.json) src version;
{ inherit stdenv lib python which; }
{ inherit src version;
meta = {
homepage = https://github.com/timbertson/gup/;
inherit (src.meta) homepage;
description = "A better make, inspired by djb's redo";
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.timbertson ];
platforms = stdenv.lib.platforms.all;
};
passthru = {
updateScript = ''
set -e
echo
cd ${toString ./.}
${nix-update-source}/bin/nix-update-source --prompt version src.json
./build.nix.gup build.nix
'';
};
}