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