forked from mirrors/nixpkgs
aixlog: init at 1.5.0
This commit is contained in:
parent
b81147f59e
commit
2c4922ac0b
36
pkgs/development/libraries/aixlog/default.nix
Normal file
36
pkgs/development/libraries/aixlog/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue