summary refs log tree commit diff
path: root/pkgs/development/libraries/libcloudproviders
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-03-05 03:57:54 +0100
committerJan Tojnar <jtojnar@gmail.com>2018-03-05 04:36:11 +0100
commit9f0d2480d7aa3da8f6e5ef6344edc0ed2f7d4cfa (patch)
tree815196a7b6f3138f4f67c2a1a7fb1cda3ac3871e /pkgs/development/libraries/libcloudproviders
parenteaed0ec08eb11de3fc4c560066d665dde380e742 (diff)
downloadnixpkgs-9f0d2480d7aa3da8f6e5ef6344edc0ed2f7d4cfa.tar
nixpkgs-9f0d2480d7aa3da8f6e5ef6344edc0ed2f7d4cfa.tar.gz
nixpkgs-9f0d2480d7aa3da8f6e5ef6344edc0ed2f7d4cfa.tar.bz2
nixpkgs-9f0d2480d7aa3da8f6e5ef6344edc0ed2f7d4cfa.tar.lz
nixpkgs-9f0d2480d7aa3da8f6e5ef6344edc0ed2f7d4cfa.tar.xz
nixpkgs-9f0d2480d7aa3da8f6e5ef6344edc0ed2f7d4cfa.tar.zst
nixpkgs-9f0d2480d7aa3da8f6e5ef6344edc0ed2f7d4cfa.zip
libcloudproviders: init at 0.2.5
Diffstat (limited to 'pkgs/development/libraries/libcloudproviders')
-rw-r--r--pkgs/development/libraries/libcloudproviders/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libcloudproviders/default.nix b/pkgs/development/libraries/libcloudproviders/default.nix
new file mode 100644
index 00000000000..6f7a79f9eea
--- /dev/null
+++ b/pkgs/development/libraries/libcloudproviders/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchurl, pkgconfig, meson, ninja, gtk-doc, docbook_xsl, glib }:
+
+# TODO: Add installed tests once https://gitlab.gnome.org/Incubator/libcloudproviders/issues/4 is fixed
+
+let
+  pname = "libcloudproviders";
+  version = "0.2.5";
+in stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+
+  src = fetchurl {
+    url = "https://gitlab.gnome.org/Incubator/${pname}/repository/archive.tar.gz?ref=${version}";
+    sha256 = "1c3vfg8wlsv0fmi1lm9qhsqdvp4k33yvwn6j680rh49laayf7k3g";
+  };
+
+  outputs = [ "out" "dev" "devdoc" ];
+
+  mesonFlags = [
+    "-Denable-gtk-doc=true"
+  ];
+
+  nativeBuildInputs = [ meson ninja pkgconfig 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/Incubator/libcloudproviders;
+    license = licenses.lgpl3Plus;
+    maintainers = with maintainers; [ jtojnar ];
+    platforms = platforms.unix;
+  };
+}