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

32 lines
998 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, meson, ninja, pkg-config, 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 11:31:35 +01: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 11:31:35 +01:00
sha256 = "0zazjhj3xbwxyzi2b2aws7qdnwn092zg9yrk9v3wd19m3mxq5na3";
2018-03-05 02:57:54 +00:00
};
outputs = [ "out" "dev" "devdoc" ];
mesonFlags = [
"-Denable-gtk-doc=true"
];
nativeBuildInputs = [ meson ninja pkg-config gobject-introspection vala gtk-doc docbook_xsl ];
2018-03-05 02:57:54 +00:00
buildInputs = [ glib ];
meta = with lib; {
2018-03-05 02:57:54 +00:00
description = "DBus API that allows cloud storage sync clients to expose their services";
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;
};
}