Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 dune-configurator, 6}: 7 8buildDunePackage rec { 9 pname = "parmap"; 10 version = "1.2.5"; 11 12 src = fetchFromGitHub { 13 owner = "rdicosmo"; 14 repo = pname; 15 rev = version; 16 hash = "sha256-tBu7TGtDOe5FbxLZuz6nl+65aN9FHIngq/O4dJWzr3Q="; 17 }; 18 19 minimalOCamlVersion = "4.03"; 20 21 buildInputs = [ 22 dune-configurator 23 ]; 24 25 doCheck = false; # prevent running slow benchmarks 26 27 meta = with lib; { 28 description = "Library for multicore parallel programming"; 29 downloadPage = "https://github.com/rdicosmo/parmap"; 30 homepage = "https://rdicosmo.github.io/parmap"; 31 license = licenses.lgpl2; 32 maintainers = with maintainers; [ bcdarwin ]; 33 }; 34}