nixpkgs/pkgs/development/libraries/libcloudproviders/default.nix

32 lines
996 B
Nix
Raw Normal View History

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";
2019-01-14 14:49:30 +00:00
version = "0.3.0";
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}";
sha256 = "1hby7vhxn6fw4ih3xbx6ab9vqp3a3dmlhr0z7mrwr73b7ankly0l";
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";
2019-01-14 14:49:30 +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;
};
}