aboutsummaryrefslogtreecommitdiff
path: root/default.nix
blob: f9af6c749420e33cb7832963bc799fd642799763 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{ pkgs }:
self: super: {
  xyz-euandreh = {
    td-latest = pkgs.stdenv.mkDerivation rec {
      name = "td";
      version = "707bb2080c35944b14da57f13310c4bad61259fe";

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

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

      doCheck = true;

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

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

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

      doCheck = true;

      meta = with pkgs.lib; {
        description = readFile "${src}/description";
        longDescription = readFile "${src}/long-description";
        homepage = "https://${name}.euandreh.xyz";
        changelog = "https://${name}.euandreh.xyz/CHANGELOG.html";
        downloadPage = "https://${name}.euandreh.xyz/#releases";
        license = licenses.agpl3;
        platforms = platforms.unix;
      };
    };
    git-permalink-latest = pkgs.stdenv.mkDerivation rec {
      name = "git-permalink";
      version = "7f0c97b64bcccbdcd1667f2c2ca8f1face9ca027";

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

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

      doCheck = true;

      meta = with pkgs.lib; {
        description = readFile "${src}/description";
        longDescription = readFile "${src}/long-description";
        homepage = "https://${name}.euandreh.xyz";
        changelog = "https://${name}.euandreh.xyz/CHANGELOG.html";
        downloadPage = "https://${name}.euandreh.xyz/#releases";
        license = licenses.agpl3;
        platforms = platforms.unix;
      };
    };
    git-permalink = pkgs.stdenv.mkDerivation rec {
      name = "git-permalink";
      version = "0.3.1";

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

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

      doCheck = true;

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