about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/graphics/ldgallery/compiler/default.nix
blob: adbe371dbb82fd07d4a5231456b7097c38a7443a (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
# generated with cabal2nix by ./generate.sh
{ mkDerivation, aeson, base, cmdargs, containers, data-ordlist
, directory, fetchgit, filepath, Glob, hpack, lib, parallel-io
, process, safe, text, time, yaml
}:
mkDerivation {
  pname = "ldgallery-compiler";
  version = "2.1";
  src = fetchgit {
    url = "https://github.com/pacien/ldgallery.git";
    sha256 = "184zysh5qwkbki8mn0br87h65yi5j39qwnmhz05z3ir9wfiniq4b";
    rev = "11bbbae2850b9c45da697a8ed9626495a50a38c0";
    fetchSubmodules = true;
  };
  postUnpack = "sourceRoot+=/compiler; echo source root reset to $sourceRoot";
  isLibrary = true;
  isExecutable = true;
  enableSeparateDataOutput = true;
  libraryHaskellDepends = [
    aeson base cmdargs containers data-ordlist directory filepath Glob
    parallel-io process safe text time yaml
  ];
  libraryToolDepends = [ hpack ];
  executableHaskellDepends = [
    aeson base cmdargs containers data-ordlist directory filepath Glob
    parallel-io process safe text time yaml
  ];
  testHaskellDepends = [
    aeson base cmdargs containers data-ordlist directory filepath Glob
    parallel-io process safe text time yaml
  ];
  prePatch = "hpack";
  homepage = "https://ldgallery.pacien.org";
  description = "A static generator which turns a collection of tagged pictures into a searchable web gallery";
  license = lib.licenses.agpl3Only;
  mainProgram = "ldgallery";
  maintainers = [ lib.maintainers.pacien ];

  # Does not compile with ghc-9.2
  hydraPlatforms = lib.platforms.none;
  broken = true;
}