Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 ocplib-endian, 6 alcotest, 7}: 8 9buildDunePackage rec { 10 pname = "msgpck"; 11 version = "1.7"; 12 13 src = fetchFromGitHub { 14 owner = "vbmithr"; 15 repo = "ocaml-msgpck"; 16 rev = "${version}"; 17 hash = "sha256-gBHIiicmk/5KBkKzRKyV0ymEH8dGCZG8vfE0mtpcDCM="; 18 }; 19 20 propagatedBuildInputs = [ ocplib-endian ]; 21 22 checkInputs = [ alcotest ]; 23 24 doCheck = true; 25 26 meta = { 27 description = "Fast MessagePack (http://msgpack.org) library"; 28 license = lib.licenses.isc; 29 homepage = "https://github.com/vbmithr/ocaml-msgpck"; 30 maintainers = [ lib.maintainers.ulrikstrid ]; 31 }; 32}