2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2014-01-01 19:11:11 +00:00
|
|
|
|
2016-03-19 12:51:21 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-11-09 21:14:04 +00:00
|
|
|
pname = "sparsehash";
|
|
|
|
version = "2.0.4";
|
2014-01-01 19:11:11 +00:00
|
|
|
|
2016-03-19 12:51:21 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sparsehash";
|
|
|
|
repo = "sparsehash";
|
2021-11-09 21:14:04 +00:00
|
|
|
rev = "sparsehash-${version}";
|
2020-08-29 08:48:41 +00:00
|
|
|
sha256 = "1pf1cjvcjdmb9cd6gcazz64x0cd2ndpwh6ql2hqpypjv725xwxy7";
|
2014-01-01 19:11:11 +00:00
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/sparsehash/sparsehash";
|
2014-01-01 19:11:11 +00:00
|
|
|
description = "An extremely memory-efficient hash_map implementation";
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.bsd3;
|
2016-03-19 12:51:21 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2014-01-01 19:11:11 +00:00
|
|
|
};
|
|
|
|
}
|