31 lines
996 B
Nix
31 lines
996 B
Nix
{ stdenv, fetchurl, meson, ninja, pkgconfig, gobject-introspection, vala, gtk-doc, docbook_xsl, glib }:
|
|
|
|
# TODO: Add installed tests once https://gitlab.gnome.org/World/libcloudproviders/issues/4 is fixed
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libcloudproviders";
|
|
version = "0.3.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://gitlab.gnome.org/World/${pname}/repository/archive.tar.gz?ref=${version}";
|
|
sha256 = "1hby7vhxn6fw4ih3xbx6ab9vqp3a3dmlhr0z7mrwr73b7ankly0l";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
mesonFlags = [
|
|
"-Denable-gtk-doc=true"
|
|
];
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection vala gtk-doc docbook_xsl ];
|
|
|
|
buildInputs = [ glib ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "DBus API that allows cloud storage sync clients to expose their services";
|
|
homepage = https://gitlab.gnome.org/World/libcloudproviders;
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|