sqlite_orm: 1.9 -> 1.9.1 (#379250)
[NixPkgs.git] / pkgs / by-name / li / libkazv / package.nix
blobf4d2afa5a31746c4454ddc66c2d8633413d46470
2   lib,
3   stdenv,
4   fetchFromGitLab,
5   boost,
6   catch2_3,
7   cmake,
8   cryptopp,
9   immer,
10   lager,
11   libcpr,
12   libhttpserver,
13   libmicrohttpd,
14   nlohmann_json,
15   olm,
16   pkg-config,
17   zug,
20 stdenv.mkDerivation (finalAttrs: {
21   pname = "libkazv";
22   version = "0.7.0";
24   src = fetchFromGitLab {
25     domain = "lily-is.land";
26     owner = "kazv";
27     repo = "libkazv";
28     rev = "refs/tags/v${finalAttrs.version}";
29     hash = "sha256-bKujiuAR5otF7nc/BdVWVaEW9fSxdh2bcAgsQ5UO1Aw=";
30   };
32   nativeBuildInputs = [
33     cmake
34     pkg-config
35   ];
37   buildInputs = [
38     boost
39     cryptopp
40     immer
41     lager
42     libcpr
43     libhttpserver
44     libmicrohttpd
45     olm
46     nlohmann_json
47     zug
48   ];
50   strictDeps = true;
52   cmakeFlags = [ (lib.cmakeBool "libkazv_BUILD_TESTS" finalAttrs.doCheck) ];
54   doCheck = true;
56   checkInputs = [ catch2_3 ];
58   meta = {
59     description = "Matrix client sdk built upon lager and the value-oriented design it enables";
60     homepage = "https://lily-is.land/kazv/libkazv";
61     license = lib.licenses.agpl3Plus;
62     maintainers = with lib.maintainers; [ fgaz ];
63     platforms = lib.platforms.all;
64   };