aboutsummaryrefslogtreecommitdiff
path: root/default.nix
blob: a3610431346ec46133cafd201d8669959a1df9e9 (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 = "7a1d07c1051ff48f17c915f99e20b629ed0a6a70";

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

      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;
      };
    };
  };
}