mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
haskell-lhs2tex: re-generate expression with recent version of cabal2nix
This commit is contained in:
parent
dc7c1bc042
commit
588c8e062c
@ -1,18 +1,18 @@
|
||||
{cabal, texLive, regexCompat}:
|
||||
{ cabal, filepath, mtl, regexCompat, texLive }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "lhs2tex";
|
||||
version = "1.18.1";
|
||||
name = self.fname;
|
||||
sha256 = "0j4n7vkabsggn94gbwixy1vmckdck2nggdiqvk6n9nx164if5jnw";
|
||||
extraBuildInputs = [regexCompat texLive];
|
||||
|
||||
isLibrary = false;
|
||||
isExecutable = true;
|
||||
buildDepends = [ filepath mtl regexCompat ];
|
||||
extraLibraries = [ texLive ];
|
||||
postInstall = ''
|
||||
mkdir -p "$out/share/doc/$name"
|
||||
cp doc/Guide2.pdf $out/share/doc/$name
|
||||
mkdir -p "$out/nix-support"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.andres-loeh.de/lhs2tex/";
|
||||
description = "Preprocessor for typesetting Haskell sources with LaTeX";
|
||||
|
Loading…
Reference in New Issue
Block a user