nixpkgs/pkgs/development/tools/build-managers/gup/default.nix

22 lines
709 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, lib, pythonPackages, nix-update-source, curl }:
2015-09-05 10:37:45 +00:00
import ./build.nix
{ inherit stdenv lib pythonPackages; }
{ inherit (nix-update-source.fetch ./src.json) src version;
2015-09-05 10:37:45 +00:00
meta = {
homepage = https://github.com/timbertson/gup/;
2015-09-05 10:37:45 +00:00
description = "A better make, inspired by djb's redo";
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.timbertson ];
2015-09-05 10:37:45 +00:00
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
'';
};
2015-09-05 10:37:45 +00:00
}