aixlog: init at 1.5.0

This commit is contained in:
Azat Bahawi 2022-09-09 00:27:35 +03:00 committed by Franz Pletz
parent b81147f59e
commit 2c4922ac0b
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
}:
stdenvNoCC.mkDerivation rec {
pname = "aixlog";
version = "1.5.0";
src = fetchFromGitHub {
owner = "badaix";
repo = pname;
rev = "v${version}";
hash = "sha256-Xhle7SODRZlHT3798mYIzBi1Mqjz8ai74/UnbVWetiY=";
};
dontConfigure = true;
dontBuild = true;
dontFixup = true;
installPhase = ''
runHook preInstall
install -Dm644 $src/include/aixlog.hpp $out/include/aixlog.hpp
runHook postInstall
'';
meta = with lib; {
description = "Header-only C++ logging library";
homepage = "https://github.com/badaix/aixlog";
changelog = "https://github.com/badaix/aixlog/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ azahi ];
};
}

View File

@ -1212,6 +1212,8 @@ with pkgs;
airwindows-lv2 = callPackage ../applications/audio/airwindows-lv2 { };
aixlog = callPackage ../development/libraries/aixlog { };
aj-snapshot = callPackage ../applications/audio/aj-snapshot { };
ajour = callPackage ../tools/games/ajour {