aboutsummaryrefslogtreecommitdiff
path: root/default.nix
blob: 85962bf451712e36c7370e8bf3083a42e94e0498 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ pkgs }:
self: super: {
  xyz-euandreh = {
    td-latest = pkgs.stdenv.mkDerivation rec {
      name = "td";
      version = "c9d881f67918c6b098d868e0df6c8837632d0d93";

      src = fetchTarball {
        url =
          "https://euandreh.xyz/${name}.git/snapshot/${name}-${version}.tar.gz";
        sha256 = "0cbppagm41jk5cbyjsp49q11dkw96r2h90ja6h0zh3dadl0wfm4d";
      };

      makeFlags = [ "PREFIX=$(out)" ];

      doCheck = true;

      meta = with pkgs.lib; {
        description = readFile "${src}/description";
        longDescription = readFile "${src}/long-description";
        homepage = "https://euandreh.xyz/td/";
        changelog = "https://euandreh.xyz/td/CHANGELOG.html";
        downloadPage = "https://euandreh.xyz/td/#releases";
        license = licenses.agpl3;
        platforms = platforms.unix;
      };
    };
  };
}