3
0
Fork 0
forked from mirrors/nixpkgs

Update dblatex to 0.3.4

This commit is contained in:
Rob Vermaas 2012-12-01 21:09:21 +01:00
parent 6faa35a89b
commit 636010a7aa

View file

@ -1,16 +1,19 @@
{ stdenv, fetchurl, python, libxslt, tetex }:
stdenv.mkDerivation rec {
name = "dblatex-0.3.2";
name = "dblatex-0.3.4";
src = fetchurl {
url = "mirror://sourceforge/dblatex/${name}.tar.bz2";
sha256 = "0jg2acv2lyrbw06l8rr0id75lj1pws7xbsmryq58r3n13xzb1p7b";
sha256 = "120w3wm07qx0k1grgdhjwm2vpwil71icshjvqznskp1f6ggch290";
};
buildPhase = "true";
installPhase = "python ./setup.py install --prefix=$out";
installPhase = ''
sed -i 's|self.install_layout == "deb"|False|' setup.py
python ./setup.py install --prefix=$out
'';
buildInputs = [ python libxslt tetex ];