@@ -1,22 +1,24 @@
1−{ fetchurl, stdenv, python, texinfo }:
1+{ fetchurl, stdenv, python, pythonPackages, texinfo }:
22
33stdenv.mkDerivation rec {
4− name = "rubber-1.1";
4+ name = "rubber-1.3";
55
66 src = fetchurl {
7− url = "http://ebeffara.free.fr/pub/${name}.tar.gz";
8− sha256 = "1xbkv8ll889933gyi2a5hj7hhh216k04gn8fwz5lfv5iz8s34gbq";
7+ url = "https://launchpad.net/rubber/trunk/1.3/+download/rubber-1.3.tar.gz";
8+ sha256 = "09715apfd6a0haz1mqsxgm8sj4rwzi38gcz2kz020zxk5rh0dksh";
99 };
1010
1111 buildInputs = [ python texinfo ];
12+ nativeBuildInputs = [ pythonPackages.wrapPython ];
1213
13− patchPhase = "substituteInPlace configure --replace which \"type -P\"";
14+ patchPhase = ''
15+ substituteInPlace configure --replace which "type -P"
16+ '';
1417
15− postInstall = "rm $out/share/rubber/modules/etex.rub";
18+ postInstall = "wrapPythonPrograms";
1619
1720 meta = {
1821 description = "Wrapper for LaTeX and friends";
19−
2022 longDescription = ''
2123 Rubber is a program whose purpose is to handle all tasks related
2224 to the compilation of LaTeX documents. This includes compiling
@@ -26,9 +28,8 @@ stdenv.mkDerivation rec {
2628 produce PostScript documents is also included, as well as usage
2729 of pdfLaTeX to produce PDF documents.
2830 '';
29−
3031 license = stdenv.lib.licenses.gpl2Plus;
31−
3232 homepage = http://www.pps.jussieu.fr/~beffara/soft/rubber/;
33+ maintainers = [ stdenv.lib.maintainers.ttuegel ];
3334 };
3435}