2017-01-25 11:25:14 +00:00
|
|
|
{ stdenv, fetchFromGitHub, lib, pythonPackages, nix-update-source, curl }:
|
2015-09-05 11:37:45 +01:00
|
|
|
import ./build.nix
|
2017-01-25 11:25:14 +00:00
|
|
|
{ inherit stdenv lib pythonPackages; }
|
|
|
|
{ inherit (nix-update-source.fetch ./src.json) src version;
|
2015-09-05 11:37:45 +01:00
|
|
|
meta = {
|
2017-01-25 11:25:14 +00:00
|
|
|
homepage = https://github.com/timbertson/gup/;
|
2015-09-05 11:37:45 +01:00
|
|
|
description = "A better make, inspired by djb's redo";
|
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2016-04-11 15:35:18 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.timbertson ];
|
2015-09-05 11:37:45 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
2017-01-25 11:25:14 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = ''
|
|
|
|
set -e
|
|
|
|
echo
|
|
|
|
cd ${toString ./.}
|
|
|
|
${nix-update-source}/bin/nix-update-source --prompt version src.json
|
|
|
|
./build.nix.gup build.nix
|
|
|
|
'';
|
|
|
|
};
|
2015-09-05 11:37:45 +01:00
|
|
|
}
|