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

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

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