nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase, qtmultimedia }:
2
3mkDerivation rec {
4 pname = "libquotient";
5 version = "0.5.3.2";
6
7 src = fetchFromGitHub {
8 owner = "quotient-im";
9 repo = "libQuotient";
10 rev = version;
11 sha256 = "0gkwr3yw6k2m0j8cc085b5p2q788rf5nhp1p5hc5d55pc7mci2qs";
12 };
13
14 buildInputs = [ qtbase qtmultimedia ];
15
16 nativeBuildInputs = [ cmake ];
17
18 meta = with lib; {
19 description = "A Qt5 library to write cross-platfrom clients for Matrix";
20 homepage = "https://matrix.org/docs/projects/sdk/quotient";
21 maintainers = with maintainers; [ colemickens ];
22 license = licenses.lgpl21;
23 };
24}