mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
ananicy-cpp: init at unstable-2021-10-13
This commit is contained in:
parent
e5b0c95514
commit
3914c5dba6
46
pkgs/misc/ananicy-cpp/default.nix
Normal file
46
pkgs/misc/ananicy-cpp/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
@ -22746,6 +22746,8 @@ with pkgs;
|
||||
|
||||
ananicy = callPackage ../misc/ananicy { };
|
||||
|
||||
ananicy-cpp = callPackage ../misc/ananicy-cpp { };
|
||||
|
||||
andagii = callPackage ../data/fonts/andagii { };
|
||||
|
||||
andika = callPackage ../data/fonts/andika { };
|
||||
|
Loading…
Reference in New Issue
Block a user