base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / ai / aixlog / package.nix
blob282b62702c7555e0de55eb92ed645ed9966274f2
1 { lib
2 , stdenvNoCC
3 , fetchFromGitHub
4 }:
6 stdenvNoCC.mkDerivation rec {
7   pname = "aixlog";
8   version = "1.5.0";
10   src = fetchFromGitHub {
11     owner = "badaix";
12     repo = pname;
13     rev = "v${version}";
14     hash = "sha256-Xhle7SODRZlHT3798mYIzBi1Mqjz8ai74/UnbVWetiY=";
15   };
17   dontConfigure = true;
18   dontBuild = true;
19   dontFixup = true;
21   installPhase = ''
22     runHook preInstall
24     install -Dm644 $src/include/aixlog.hpp $out/include/aixlog.hpp
26     runHook postInstall
27   '';
29   meta = with lib; {
30     description = "Header-only C++ logging library";
31     homepage = "https://github.com/badaix/aixlog";
32     changelog = "https://github.com/badaix/aixlog/releases/tag/${src.rev}";
33     license = licenses.mit;
34     maintainers = with maintainers; [ azahi ];
35   };