blob: 25bcaec132677308fe9fa2e5b18910b1f6b42481 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{ lib
, gcc11Stdenv
, fetchFromGitLab
, makeWrapper
, cmake
, spdlog
, nlohmann_json
, systemd
}:
gcc11Stdenv.mkDerivation rec {
pname = "ananicy-cpp";
version = "unstable-2021-10-13";
src = fetchFromGitLab {
owner = "ananicy-cpp";
repo = "ananicy-cpp";
rev = "6a14fe7353221c89347eddbbcafb35cf5fee4758";
sha256 = "sha256-V0QPXC17ZD2c4MK3DAkzoPgKOU5V5BjfQKUk7I6f8WM=";
};
nativeBuildInputs = [
makeWrapper
cmake
];
buildInputs = [
spdlog
nlohmann_json
systemd
];
cmakeFlags = [
"-DUSE_EXTERNAL_JSON=yON"
"-DUSE_EXTERNAL_SPDLOG=ON"
"-DUSE_EXTERNAL_FMTLIB=ON"
];
meta = with lib; {
homepage = "https://gitlab.com/ananicy-cpp/ananicy-cpp";
description = "Rewrite of ananicy in c++ for lower cpu and memory usage";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ artturin ];
};
}
|