2018-10-13 00:56:15 +02:00
|
|
|
{stdenv, fetchurl, pkgconfig, perlPackages, libxml2, libxslt, docbook_xml_dtd_42, automake, gettext}:
|
2009-09-30 07:27:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "scrollkeeper-0.3.14";
|
|
|
|
src = fetchurl {
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "mirror://gnome/sources/scrollkeeper/0.3/scrollkeeper-0.3.14.tar.bz2";
|
2009-09-30 08:17:54 +02:00
|
|
|
sha256 = "08n1xgj1f53zahwm0wpn3jid3rfbhi3iwby0ilaaldnid5qriqgc";
|
2009-09-30 07:27:34 +02:00
|
|
|
};
|
2010-09-01 10:36:35 +02:00
|
|
|
|
|
|
|
# The fuloong2f is not supported by scrollkeeper-0.3.14 config.guess
|
2009-09-30 07:27:34 +02:00
|
|
|
preConfigure = "
|
|
|
|
substituteInPlace extract/dtds/Makefile.am --replace /usr/bin/xmlcatalog xmlcatalog
|
2010-09-01 10:36:35 +02:00
|
|
|
cp ${automake}/share/automake*/config.{sub,guess} .
|
2009-09-30 07:27:34 +02:00
|
|
|
";
|
2010-09-01 10:36:35 +02:00
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-10-13 00:56:15 +02:00
|
|
|
buildInputs = [ libxml2 libxslt gettext ]
|
|
|
|
++ (with perlPackages; [ perl XMLParser ]);
|
2018-07-25 23:44:21 +02:00
|
|
|
configureFlags = [ "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/catalog.xml" ];
|
2009-09-30 07:27:34 +02:00
|
|
|
}
|