diff --git a/pkgs/development/libraries/aixlog/default.nix b/pkgs/development/libraries/aixlog/default.nix new file mode 100644 index 000000000000..282b62702c75 --- /dev/null +++ b/pkgs/development/libraries/aixlog/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a2a73b261309..76563511f510 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {