at 18.09-beta 23 lines 681 B view raw
1{fetchurl, pkgconfig, libxml2Python, libxslt, intltool 2, python2Packages }: 3 4python2Packages.buildPythonApplication { 5 name = "gnome-doc-utils-0.20.10"; 6 format = "other"; 7 8 src = fetchurl { 9 url = mirror://gnome/sources/gnome-doc-utils/0.20/gnome-doc-utils-0.20.10.tar.xz; 10 sha256 = "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"; 11 }; 12 13 nativeBuildInputs = [ intltool pkgconfig ]; 14 buildInputs = [ libxslt ]; 15 16 configureFlags = [ "--disable-scrollkeeper" ]; 17 18 preBuild = '' 19 substituteInPlace xml2po/xml2po/Makefile --replace '-e "s+^#!.*python.*+#!$(PYTHON)+"' '-e "s\"^#!.*python.*\"#!$(PYTHON)\""' 20 ''; 21 22 propagatedBuildInputs = [ libxml2Python ]; 23}