mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
glaze: modernize
This commit is contained in:
parent
a05544193c
commit
c691e8174a
1 changed files with 5 additions and 5 deletions
|
@ -13,17 +13,17 @@ stdenv.mkDerivation (final: {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "stephenberry";
|
owner = "stephenberry";
|
||||||
repo = "glaze";
|
repo = "glaze";
|
||||||
rev = "v${final.version}";
|
tag = "v${final.version}";
|
||||||
hash = "sha256-AG6fnax9UZEhGtAUc8bgGijk8q7ge6lDTb0XjqL+kks=";
|
hash = "sha256-AG6fnax9UZEhGtAUc8bgGijk8q7ge6lDTb0XjqL+kks=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
cmakeFlags = [ (lib.cmakeBool "glaze_ENABLE_AVX2" enableAvx2) ];
|
cmakeFlags = [ (lib.cmakeBool "glaze_ENABLE_AVX2" enableAvx2) ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Extremely fast, in memory, JSON and interface library for modern C++";
|
description = "Extremely fast, in memory, JSON and interface library for modern C++";
|
||||||
platforms = platforms.all;
|
platforms = lib.platforms.all;
|
||||||
maintainers = with maintainers; [ moni ];
|
maintainers = with lib.maintainers; [ moni ];
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue