forked from wavewave/hoodle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
67 lines (54 loc) · 2.33 KB
/
default.nix
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
{ poppler, gtk3 }:
self: super: {
"poppler" = self.callPackage
({ mkDerivation, array, base, bytestring, cairo, containers
, glib, gtk3, gtk3lib, gtk2hs-buildtools, mtl, pango, popplerlib
, stdenv
}:
mkDerivation {
pname = "poppler";
version = "0.14.0";
configureFlags = ["-fgtk3"];
libraryHaskellDepends = [
array base bytestring cairo containers glib gtk3 mtl
];
libraryPkgconfigDepends = [ gtk3lib pango popplerlib ];
libraryToolDepends = [ gtk2hs-buildtools ];
homepage = "http://projects.haskell.org/gtk2hs";
description = "Binding to the Poppler";
license = stdenv.lib.licenses.gpl2;
}) { popplerlib = poppler; gtk3lib = gtk3; };
coroutine-object = self.callPackage ./coroutine-object {};
xournal-types = self.callPackage ./xournal-types {};
xournal-parser = self.callPackage ./xournal-parser {
xournal-types = self.xournal-types;
};
hoodle-types = self.callPackage ./hoodle-types {};
hoodle-builder = self.callPackage ./hoodle-builder {
hoodle-types = self.hoodle-types;
};
hoodle-parser = self.callPackage ./hoodle-parser {
hoodle-types = self.hoodle-types;
xournal-types = self.xournal-types;
};
hoodle-render = self.callPackage ./hoodle-render {
hoodle-types = self.hoodle-types;
};
hoodle-publish = self.callPackage ./hoodle-publish {
hoodle-types = self.hoodle-types;
hoodle-render = self.hoodle-render;
};
hoodle-core = self.callPackage ./hoodle-core {
coroutine-object = self.coroutine-object;
hoodle-types = self.hoodle-types;
hoodle-parser = self.hoodle-parser;
hoodle-builder = self.hoodle-builder;
hoodle-render = self.hoodle-render;
hoodle-publish = self.hoodle-publish;
xournal-parser = self.xournal-parser;
gtk3 = gtk3;
};
hoodle = self.callPackage ./hoodle {
hoodle-core = self.hoodle-core;
};
}