Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11-beta 21 lines 562 B view raw
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "sparsehash"; 5 version = "2.0.4"; 6 7 src = fetchFromGitHub { 8 owner = "sparsehash"; 9 repo = "sparsehash"; 10 rev = "sparsehash-${version}"; 11 sha256 = "1pf1cjvcjdmb9cd6gcazz64x0cd2ndpwh6ql2hqpypjv725xwxy7"; 12 }; 13 14 meta = with lib; { 15 homepage = "https://github.com/sparsehash/sparsehash"; 16 description = "An extremely memory-efficient hash_map implementation"; 17 platforms = platforms.all; 18 license = licenses.bsd3; 19 maintainers = with maintainers; [ pSub ]; 20 }; 21}