about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/sparsehash/default.nix
blob: 35208d021b83abec036efe7f0c00cb5722c5b801 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "sparsehash";
  version = "2.0.4";

  src = fetchFromGitHub {
    owner = "sparsehash";
    repo = "sparsehash";
    rev = "sparsehash-${version}";
    sha256 = "1pf1cjvcjdmb9cd6gcazz64x0cd2ndpwh6ql2hqpypjv725xwxy7";
  };

  meta = with lib; {
    homepage = "https://github.com/sparsehash/sparsehash";
    description = "An extremely memory-efficient hash_map implementation";
    platforms = platforms.all;
    license = licenses.bsd3;
    maintainers = with maintainers; [ pSub ];
  };
}