tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
glaze: init at 4.0.0
moni.tngl.sh
1 year ago
37279cb3
08151b58
+29
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
gl
glaze
package.nix
+29
pkgs/by-name/gl/glaze/package.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{
2
+
lib,
3
+
stdenv,
4
+
fetchFromGitHub,
5
+
cmake,
6
+
avx2 ? false,
7
+
}:
8
+
9
+
stdenv.mkDerivation (final: {
10
+
pname = "glaze";
11
+
version = "4.0.0";
12
+
13
+
src = fetchFromGitHub {
14
+
owner = "stephenberry";
15
+
repo = "glaze";
16
+
rev = "v${final.version}";
17
+
hash = "sha256-zaGKYEnYTyAhtP0Hywxp8Y33wvjB1RkEoOGF41CaVnY";
18
+
};
19
+
20
+
nativeBuildInputs = [ cmake ];
21
+
cmakeFlags = [ "-Dglaze_ENABLE_AVX2=${if avx2 then "ON" else "OFF"}" ];
22
+
23
+
meta = with lib; {
24
+
description = "Extremely fast, in memory, JSON and interface library for modern C++";
25
+
platforms = platforms.all;
26
+
maintainers = with maintainers; [ moni ];
27
+
license = licenses.mit;
28
+
};
29
+
})