diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libquotient')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libquotient/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libquotient/default.nix b/nixpkgs/pkgs/development/libraries/libquotient/default.nix new file mode 100644 index 000000000000..6264a9de3691 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libquotient/default.nix @@ -0,0 +1,24 @@ +{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, qtmultimedia }: + +mkDerivation rec { + pname = "libquotient"; + version = "0.6.8"; + + src = fetchFromGitHub { + owner = "quotient-im"; + repo = "libQuotient"; + rev = version; + sha256 = "sha256-CrAK0yq1upB1+C2z6mqKkSArCmzI+TDEEHTIBWB29Go="; + }; + + buildInputs = [ qtbase qtmultimedia ]; + + nativeBuildInputs = [ cmake ]; + + meta = with lib; { + description = "A Qt5 library to write cross-platform clients for Matrix"; + homepage = "https://matrix.org/docs/projects/sdk/quotient"; + license = licenses.lgpl21; + maintainers = with maintainers; [ colemickens ]; + }; +} |