summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/gup/default.nix
blob: e73beb031645eb4f4667238ea0f6752e47502e30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchFromGitHub, lib, pythonPackages, nix-update-source, curl }:
import ./build.nix
  { inherit stdenv lib pythonPackages; }
  { inherit (nix-update-source.fetch ./src.json) src version;
    meta = {
      homepage = https://github.com/timbertson/gup/;
      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
      '';
    };
  }