aboutsummaryrefslogtreecommitdiff
path: root/default.nix
blob: bb4789c4128d53813d05dfa9a8dbfd60235797df (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
{ pkgs }:
self: super: {
  xyz-euandreh = {
    remembering = pkgs.stdenv.mkDerivation rec {
      name = "remembering";
      version = "cca66c6f53e8bce857faae88368c0b07e6ace9e1";

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

      makeFlags = [ "CC=cc" ];

      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;
      };
    };
    autoqemu = pkgs.stdenv.mkDerivation rec {
      name = "autoqemu";
      version = "9aff342b2179f990a7c63ee5c7569260a8498709";

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

      makeFlags = [ "CC=cc" ];

      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;
      };
    };
    fallible = pkgs.stdenv.mkDerivation rec {
      name = "fallible";
      version = "f4771b77695905957e11e06f7219d5c2db9964e2";

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

      makeFlags = [ "CC=cc" ];

      checkInputs = with pkgs; [ valgrind ];
      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;
      };
    };
  };
}