2018-10-12 22:56:15 +00:00
|
|
|
{stdenv, fetchurl, pkgconfig, perlPackages, libxml2, libxslt, docbook_xml_dtd_42, gnome3}:
|
2018-03-03 05:42:12 +00:00
|
|
|
let
|
|
|
|
pname = "rarian";
|
|
|
|
version = "0.8.1";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 00:12:11 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.gz";
|
2016-09-18 19:35:23 +00:00
|
|
|
sha256 = "aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577";
|
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-10-12 22:56:15 +00:00
|
|
|
buildInputs = [ libxml2 libxslt ]
|
|
|
|
++ (with perlPackages; [ perl XMLParser ]);
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [ "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/docbook.cat" ];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-03-03 05:42:12 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 19:35:23 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-03-03 05:42:12 +00:00
|
|
|
description = "Documentation metadata library based on the proposed Freedesktop.org spec";
|
|
|
|
homepage = https://rarian.freedesktop.org/;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = gnome3.maintainers;
|
2016-09-18 19:35:23 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|