ananicy-cpp: unstable-2021-10-13 -> 1.0.1

upstream release (https://gitlab.com/ananicy-cpp/ananicy-cpp/-/releases/v1.0.1)
This commit is contained in:
Vladislav Nepogodin 2022-11-23 02:20:33 +04:00 committed by GitHub
parent aee7510bf1
commit ab27a2c699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,27 +1,28 @@
{ lib
, gcc11Stdenv
, stdenv
, fetchFromGitLab
, makeWrapper
, cmake
, pkg-config
, spdlog
, nlohmann_json
, systemd
}:
gcc11Stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "ananicy-cpp";
version = "unstable-2021-10-13";
version = "1.0.1";
src = fetchFromGitLab {
owner = "ananicy-cpp";
repo = "ananicy-cpp";
rev = "6a14fe7353221c89347eddbbcafb35cf5fee4758";
sha256 = "sha256-V0QPXC17ZD2c4MK3DAkzoPgKOU5V5BjfQKUk7I6f8WM=";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-07LWIC2y6b1iiPCVa8mlBYAnSmahm0oJ2d3/uW4rC94=";
};
nativeBuildInputs = [
makeWrapper
cmake
pkg-config
];
buildInputs = [
@ -31,11 +32,17 @@ gcc11Stdenv.mkDerivation rec {
];
cmakeFlags = [
"-DUSE_EXTERNAL_JSON=yON"
"-DUSE_EXTERNAL_JSON=ON"
"-DUSE_EXTERNAL_SPDLOG=ON"
"-DUSE_EXTERNAL_FMTLIB=ON"
"-DVERSION=${version}"
];
postInstall = ''
rm -rf "$out"/include
rm -rf "$out"/lib/cmake
'';
meta = with lib; {
homepage = "https://gitlab.com/ananicy-cpp/ananicy-cpp";
description = "Rewrite of ananicy in c++ for lower cpu and memory usage";