2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:13:33 +00:00
nixpkgs/pkgs/development/libraries/rarian/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
902 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, pkg-config, perlPackages, libxml2, libxslt, docbook_xml_dtd_42, gnome}:
2018-03-03 05:42:12 +00:00
let
pname = "rarian";
version = "0.8.1";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.gz";
sha256 = "aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577";
};
nativeBuildInputs = [ pkg-config ];
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" ];
meta = with 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/";
2018-03-03 05:42:12 +00:00
license = licenses.lgpl21Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}