2019-01-14 14:49:30 +00:00
|
|
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, glib }:
|
2018-03-05 02:57:54 +00:00
|
|
|
|
2019-01-14 14:49:30 +00:00
|
|
|
# TODO: Add installed tests once https://gitlab.gnome.org/World/libcloudproviders/issues/4 is fixed
|
2018-03-05 02:57:54 +00:00
|
|
|
|
2019-01-14 14:49:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-05 02:57:54 +00:00
|
|
|
pname = "libcloudproviders";
|
2020-06-10 10:31:35 +00:00
|
|
|
version = "0.3.1";
|
2018-03-05 02:57:54 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-01-14 14:49:30 +00:00
|
|
|
url = "https://gitlab.gnome.org/World/${pname}/repository/archive.tar.gz?ref=${version}";
|
2020-06-10 10:31:35 +00:00
|
|
|
sha256 = "0zazjhj3xbwxyzi2b2aws7qdnwn092zg9yrk9v3wd19m3mxq5na3";
|
2018-03-05 02:57:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Denable-gtk-doc=true"
|
|
|
|
];
|
|
|
|
|
2019-01-14 14:49:30 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection vala gtk-doc docbook_xsl ];
|
2018-03-05 02:57:54 +00:00
|
|
|
|
|
|
|
buildInputs = [ glib ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "DBus API that allows cloud storage sync clients to expose their services";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/World/libcloudproviders";
|
2018-03-05 02:57:54 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|