2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl, pkg-config, 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 {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.gz";
|
2016-09-18 19:35:23 +00:00
|
|
|
sha256 = "aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-03-03 05:42:12 +00:00
|
|
|
description = "Documentation metadata library based on the proposed Freedesktop.org spec";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://rarian.freedesktop.org/";
|
2018-03-03 05:42:12 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 19:35:23 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|