nixpkgs/pkgs/development/tools/documentation/gnome-doc-utils/default.nix

24 lines
693 B
Nix
Raw Normal View History

{fetchurl, pkgconfig, libxml2Python, libxslt, intltool
, python2Packages }:
python2Packages.buildPythonApplication {
name = "gnome-doc-utils-0.20.10";
format = "other";
src = fetchurl {
url = mirror://gnome/sources/gnome-doc-utils/0.20/gnome-doc-utils-0.20.10.tar.xz;
sha256 = "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb";
};
2019-01-05 12:43:55 +01:00
nativeBuildInputs = [ intltool pkgconfig libxslt.dev ];
buildInputs = [ libxslt ];
2018-07-25 23:44:21 +02:00
configureFlags = [ "--disable-scrollkeeper" ];
preBuild = ''
substituteInPlace xml2po/xml2po/Makefile --replace '-e "s+^#!.*python.*+#!$(PYTHON)+"' '-e "s\"^#!.*python.*\"#!$(PYTHON)\""'
'';
propagatedBuildInputs = [ libxml2Python ];
}