tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
emhash: init at 1.0.1
blenderfreaky
4 months ago
2cd2faed
7f9bf6f8
+39
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
em
emhash
package.nix
+39
pkgs/by-name/em/emhash/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
fetchFromGitHub,
5
5
+
cmake,
6
6
+
nix-update-script,
7
7
+
}:
8
8
+
stdenv.mkDerivation (finalAttrs: {
9
9
+
pname = "emhash";
10
10
+
version = "1.0.1";
11
11
+
12
12
+
src = fetchFromGitHub {
13
13
+
owner = "ktprime";
14
14
+
repo = "emhash";
15
15
+
tag = "v${finalAttrs.version}";
16
16
+
hash = "sha256-dFj/QaGdTJYdcxKlS9tES6OHae8xPMnrG9ccRNM/hi8=";
17
17
+
};
18
18
+
19
19
+
nativeBuildInputs = [
20
20
+
cmake
21
21
+
];
22
22
+
23
23
+
cmakeFlags = [
24
24
+
# By default, it will try to build the benchmark suite,
25
25
+
# but we only care about the headers copied by the install target.
26
26
+
"-DWITH_BENCHMARKS=Off"
27
27
+
];
28
28
+
29
29
+
passthru.update-script = nix-update-script { };
30
30
+
31
31
+
meta = {
32
32
+
homepage = "https://github.com/ktprime/emhash";
33
33
+
changelog = "https://github.com/ktprime/emhash/releases/tag/v${finalAttrs.version}";
34
34
+
description = "Fast and memory efficient c++ flat hash map/set";
35
35
+
license = lib.licenses.mit;
36
36
+
maintainers = with lib.maintainers; [ blenderfreaky ];
37
37
+
platforms = lib.platforms.all;
38
38
+
};
39
39
+
})