about summary refs log tree commit diff
path: root/pkgs/development/libraries/libquotient
diff options
context:
space:
mode:
authorCole Mickens <cole.mickens@gmail.com>2020-04-09 18:38:20 -0700
committerCole Mickens <cole.mickens@gmail.com>2020-04-27 13:45:48 -0700
commitc15f5903d7930c4f476d478aed7960a771ac55c2 (patch)
tree2211223883094d18d72a1babb6665756ea70a368 /pkgs/development/libraries/libquotient
parent712026ead1fd2654a231f288260c81dea0ca80c4 (diff)
libquotient: rename from libqmatrixclient; v0.5.2 -> v0.5.3.2
aliases: throw messages for libqmatrixclient and quaternion-git
Diffstat (limited to 'pkgs/development/libraries/libquotient')
-rw-r--r--pkgs/development/libraries/libquotient/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libquotient/default.nix b/pkgs/development/libraries/libquotient/default.nix
new file mode 100644
index 0000000000000..9ece2c13bd21d
--- /dev/null
+++ b/pkgs/development/libraries/libquotient/default.nix
@@ -0,0 +1,24 @@
+{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, qtmultimedia }:
+
+mkDerivation rec {
+  pname = "libquotient";
+  version = "0.5.3.2";
+
+  src = fetchFromGitHub {
+    owner = "quotient-im";
+    repo = "libQuotient";
+    rev = version;
+    sha256 = "0gkwr3yw6k2m0j8cc085b5p2q788rf5nhp1p5hc5d55pc7mci2qs";
+  };
+
+  buildInputs = [ qtbase qtmultimedia ];
+
+  nativeBuildInputs = [ cmake ];
+
+  meta = with lib; {
+    description = "A Qt5 library to write cross-platfrom clients for Matrix";
+    homepage = "https://matrix.org/docs/projects/sdk/quotient";
+    maintainers = with maintainers; [ colemickens ];
+    license = licenses.lgpl21;
+  };
+}