2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, vala, gobject-introspection, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, libxml2, libsoup, gnome3 }:
|
2018-08-19 23:18:56 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "0.7.0";
|
|
|
|
pname = "libgrss";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-08-19 23:18:56 +01:00
|
|
|
sha256 = "1nalslgyglvhpva3px06fj6lv5zgfg0qmj0sbxyyl5d963vc02b7";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config vala gobject-introspection gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
2018-08-19 23:18:56 +01:00
|
|
|
buildInputs = [ glib libxml2 libsoup ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-gtk-doc"
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
2018-12-19 23:26:05 +00:00
|
|
|
versionPolicy = "none";
|
2018-08-19 23:18:56 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-08-19 23:18:56 +01:00
|
|
|
description = "Glib abstaction to handle feeds in RSS, Atom and other formats";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/Libgrss";
|
2018-08-19 23:18:56 +01:00
|
|
|
license = licenses.lgpl3Plus;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2018-08-19 23:18:56 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|