Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 27 lines 662 B view raw
1{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }: 2 3buildDunePackage rec { 4 pname = "faraday"; 5 version = "0.8.2"; 6 7 minimalOCamlVersion = "4.08"; 8 duneVersion = "3"; 9 10 src = fetchFromGitHub { 11 owner = "inhabitedtype"; 12 repo = pname; 13 rev = version; 14 sha256 = "sha256-wR4kDocR1t3OLRuudXH8IccYde552O6Gvo5BHNxRbAI="; 15 }; 16 17 checkInputs = [ alcotest ]; 18 propagatedBuildInputs = [ bigstringaf ]; 19 doCheck = true; 20 21 meta = { 22 description = "Serialization library built for speed and memory efficiency"; 23 license = lib.licenses.bsd3; 24 maintainers = [ lib.maintainers.vbgl ]; 25 inherit (src.meta) homepage; 26 }; 27}