blob: 61e1dfb9d8759dad55e46a4bcf3bfbd8aba94c37 (
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
|
{cabal, texLive, regexCompat}:
cabal.mkDerivation (self: {
pname = "lhs2tex";
version = "1.17";
name = self.fname;
sha256 = "1x49316m5xm4f6hw5q7kia9rpfpygxhk5gnifd54ai0zjmdlkxrc";
extraBuildInputs = [regexCompat texLive];
postInstall = ''
ensureDir "$out/share/doc/$name"
cp doc/Guide2.pdf $out/share/doc/$name
ensureDir "$out/nix-support"
'';
meta = {
homepage = "http://www.andres-loeh.de/lhs2tex/";
description = "Preprocessor for typesetting Haskell sources with LaTeX";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})
|