Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 693 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "robin-map"; 10 version = "1.4.0"; 11 12 src = fetchFromGitHub { 13 owner = "Tessil"; 14 repo = "robin-map"; 15 tag = "v${version}"; 16 hash = "sha256-Hkgxiq2i0TuqMK/bI5OMOn3LkmSE40NimDjK1FBZpsA="; 17 }; 18 19 nativeBuildInputs = [ 20 cmake 21 ]; 22 23 meta = { 24 description = "C++ implementation of a fast hash map and hash set using robin hood hashing"; 25 homepage = "https://github.com/Tessil/robin-map"; 26 changelog = "https://github.com/Tessil/robin-map/releases/tag/v${version}"; 27 license = lib.licenses.mit; 28 maintainers = with lib.maintainers; [ ]; 29 platforms = lib.platforms.unix; 30 }; 31}