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