2016-10-18 11:25:20 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, libxml2Python, libxslt, intltool
|
|
|
|
, makeWrapper, python2Packages }:
|
2009-09-30 06:27:34 +01:00
|
|
|
|
2017-03-21 12:01:17 +00:00
|
|
|
python2Packages.buildPythonApplication {
|
2013-12-11 08:20:20 +00:00
|
|
|
name = "gnome-doc-utils-0.20.10";
|
2017-03-21 12:01:17 +00:00
|
|
|
format = "other";
|
2012-03-08 23:15:51 +00:00
|
|
|
|
2009-09-30 06:27:34 +01:00
|
|
|
src = fetchurl {
|
2013-12-11 08:20:20 +00:00
|
|
|
url = mirror://gnome/sources/gnome-doc-utils/0.20/gnome-doc-utils-0.20.10.tar.xz;
|
|
|
|
sha256 = "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb";
|
2009-09-30 06:27:34 +01:00
|
|
|
};
|
2012-03-08 23:15:51 +00:00
|
|
|
|
2017-09-13 02:02:03 +01:00
|
|
|
nativeBuildInputs = [ intltool pkgconfig ];
|
|
|
|
buildInputs = [ libxslt ];
|
|
|
|
|
2009-09-30 06:27:34 +01:00
|
|
|
configureFlags = "--disable-scrollkeeper";
|
2017-09-13 02:02:03 +01:00
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
substituteInPlace xml2po/xml2po/Makefile --replace '-e "s+^#!.*python.*+#!$(PYTHON)+"' '-e "s\"^#!.*python.*\"#!$(PYTHON)\""'
|
|
|
|
'';
|
|
|
|
|
2016-10-18 11:25:20 +01:00
|
|
|
propagatedBuildInputs = [ libxml2Python ];
|
2009-09-30 06:27:34 +01:00
|
|
|
}
|