33 lines
963 B
Nix
33 lines
963 B
Nix
{ mkDerivation, base, colour, diagrams-cairo, diagrams-contrib, diagrams-core
|
|
, diagrams-lib, diagrams-svg, extra, fetchgit, optparse-applicative, primes
|
|
, random, stdenv }:
|
|
mkDerivation {
|
|
pname = "image-generator";
|
|
version = "0.1.1.0";
|
|
src = fetchgit {
|
|
url = "https://git.ingolf-wagner.de/palo/image-generator.git";
|
|
sha256 = "0hgbp0sxy7vjgx2zv1r05gvry0k6r2cldjmj5q75d9c8gp6n5cc1";
|
|
rev = "ef68d8bd027b69fc96f821849c695a2b3e5c9e49";
|
|
fetchSubmodules = true;
|
|
};
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
libraryHaskellDepends = [ base ];
|
|
executableHaskellDepends = [
|
|
base
|
|
colour
|
|
diagrams-cairo
|
|
diagrams-contrib
|
|
diagrams-core
|
|
diagrams-lib
|
|
diagrams-svg
|
|
extra
|
|
optparse-applicative
|
|
primes
|
|
random
|
|
];
|
|
doHaddock = false;
|
|
homepage = "https://git.ingolf-wagner.de/palo/image-generator";
|
|
description = "https://git.ingolf-wagner.de/palo/image-generator";
|
|
license = stdenv.lib.licenses.gpl3;
|
|
}
|