1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "sparsehash";
9 version = "2.0.4";
10
11 src = fetchFromGitHub {
12 owner = "sparsehash";
13 repo = "sparsehash";
14 rev = "sparsehash-${version}";
15 sha256 = "1pf1cjvcjdmb9cd6gcazz64x0cd2ndpwh6ql2hqpypjv725xwxy7";
16 };
17
18 meta = with lib; {
19 homepage = "https://github.com/sparsehash/sparsehash";
20 description = "Extremely memory-efficient hash_map implementation";
21 platforms = platforms.all;
22 license = licenses.bsd3;
23 maintainers = with maintainers; [ pSub ];
24 };
25}