nixpkgs/pkgs/tools/graphics/ldgallery/compiler/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.5 KiB
Nix
Raw Normal View History

2020-09-25 14:34:39 +00:00
# generated with cabal2nix by ./generate.sh
{ mkDerivation, aeson, base, cmdargs, containers, data-ordlist
2022-09-20 19:00:59 +00:00
, directory, fetchgit, filepath, Glob, hpack, lib, parallel-io
, process, safe, text, time, yaml
2020-09-25 14:34:39 +00:00
}:
mkDerivation {
pname = "ldgallery-compiler";
2022-09-20 19:00:59 +00:00
version = "2.1";
2020-09-25 14:34:39 +00:00
src = fetchgit {
url = "https://github.com/pacien/ldgallery.git";
2022-09-20 19:00:59 +00:00
sha256 = "184zysh5qwkbki8mn0br87h65yi5j39qwnmhz05z3ir9wfiniq4b";
rev = "11bbbae2850b9c45da697a8ed9626495a50a38c0";
2020-09-25 14:34:39 +00:00
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";
2022-09-20 19:00:59 +00:00
license = lib.licenses.agpl3Only;
mainProgram = "ldgallery";
maintainers = [ lib.maintainers.pacien ];
# Does not compile with ghc-9.2
hydraPlatforms = lib.platforms.none;
broken = true;
2020-09-25 14:34:39 +00:00
}