diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2011-10-08 16:58:32 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2011-10-08 16:58:32 +0000 |
commit | e60fe8673bee23847839c3b7e00c6f0c3f34c9d8 (patch) | |
tree | 9fbafaa4cf5bad16935f64e03e15049a9d3c8b85 /pkgs/desktops/gnome-2/desktop/scrollkeeper | |
parent | a2d0e3b73923e6c1c02862c1ea9eeaf590d1412a (diff) |
gnome: use callPackage, move to gnome-2
gnome28 was a mix of packages from various releases, so do not mention 2.28 in the attribute name. svn path=/nixpkgs/trunk/; revision=29721
Diffstat (limited to 'pkgs/desktops/gnome-2/desktop/scrollkeeper')
-rw-r--r-- | pkgs/desktops/gnome-2/desktop/scrollkeeper/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome-2/desktop/scrollkeeper/default.nix b/pkgs/desktops/gnome-2/desktop/scrollkeeper/default.nix new file mode 100644 index 0000000000000..97dcbf4e0041a --- /dev/null +++ b/pkgs/desktops/gnome-2/desktop/scrollkeeper/default.nix @@ -0,0 +1,18 @@ +{stdenv, fetchurl, pkgconfig, perl, perlXMLParser, libxml2, libxslt, docbook_xml_dtd_42, automake}: + +stdenv.mkDerivation { + name = "scrollkeeper-0.3.14"; + src = fetchurl { + url = mirror://gnome/sources/scrollkeeper/0.3/scrollkeeper-0.3.14.tar.bz2; + sha256 = "08n1xgj1f53zahwm0wpn3jid3rfbhi3iwby0ilaaldnid5qriqgc"; + }; + + # The fuloong2f is not supported by scrollkeeper-0.3.14 config.guess + preConfigure = " + substituteInPlace extract/dtds/Makefile.am --replace /usr/bin/xmlcatalog xmlcatalog + cp ${automake}/share/automake*/config.{sub,guess} . + "; + + buildInputs = [pkgconfig perl perlXMLParser libxml2 libxslt]; + configureFlags = "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/docbook.cat"; +} |