mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
lhs2tex version bump to 1.13, removed the external builder.sh
svn path=/nixpkgs/trunk/; revision=11971
This commit is contained in:
parent
ec984a1208
commit
b89a5bfa33
@ -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
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user