aboutsummaryrefslogtreecommitdiff
path: root/default.nix
blob: 016f4d65c4203325960247b819a08d6955559e1e (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
{ pkgs }:
self: super: {
  org-euandre = {
    guile-heredoc-latest = pkgs.stdenv.mkDerivation rec {
      name = "guile-heredoc";
      version = "065435cdce609604e33b879b9be3e81ab89f3e7b";

      src = fetchTarball {
        url =
          "https://euandre.org/git/${name}/snapshot/${name}-${version}.tar.gz";
        sha256 = "179qq17mgi4kakhj9w1dk26afljh5yad4j9ih9d8wms70x6h211m";
      };

      nativeBuildInputs = with pkgs; [
        texinfo
      ];
      buildInputs = with pkgs; [
        guile
      ];
      makeFlags = [ "PREFIX=$(out)" ];

      doCheck = true;
      enableParallelBuilding = true;

      meta = with pkgs.lib; {
        description = readFile "${src}/description"; # FIXME
        longDescription = readFile "${src}/long-description";
        homepage = "https://euandre.org/projects/guile-heredoc/";
        changelog = "https://euandre.org/projects/guile-heredoc/CHANGELOG.html";
        downloadPage = "https://euandre.org/projects/guile-heredoc/#releases";
        license = licenses.agpl3;
        platforms = platforms.unix;
      };
    };
  };
}