lhs2tex version bump to 1.13, removed the external builder.sh

svn path=/nixpkgs/trunk/; revision=11971
This commit is contained in:
Andres Löh 2008-06-04 09:59:13 +00:00
parent ec984a1208
commit b89a5bfa33
2 changed files with 10 additions and 18 deletions

View File

@ -1,14 +0,0 @@
source $stdenv/setup
postInstall() {
ensureDir "$out/share/doc/$name"
cp doc/Guide2.pdf $out/share/doc/$name
ensureDir "$out/nix-support"
echo "$propagatedUserEnvPackages" > $out/nix-support/propagated-user-env-packages
}
postInstall=postInstall
genericBuild

View File

@ -3,18 +3,24 @@
assert tetex == polytable.tetex;
stdenv.mkDerivation {
name = "lhs2tex-1.13pre3";
builder = ./builder.sh;
name = "lhs2tex-1.13";
src = fetchurl {
url = "http://www.cs.uu.nl/~andres/lhs2tex/lhs2tex-1.13pre3.tar.bz2";
sha256 = "8ddc9bd150c20c33518d747fee95577ec8f587146532cda12b8034adc847826c";
url = "http://people.cs.uu.nl/andres/lhs2tex/lhs2tex-1.13.tar.gz";
sha256 = "28282cb4afcc71785b092d358ffb33f5ec7585e50b392ae4fb6391d495a0836b";
};
buildInputs = [tetex ghc];
propagatedBuildInputs = [polytable];
propagatedUserEnvPackages = [polytable];
postInstall = ''
ensureDir "$out/share/doc/$name"
cp doc/Guide2.pdf $out/share/doc/$name
ensureDir "$out/nix-support"
echo "$propagatedUserEnvPackages" > $out/nix-support/propagated-user-env-packages
'';
inherit tetex;
}