Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 31 lines 916 B view raw
1{ lib, fetchurl, buildDunePackage 2, alcotest, cstruct-unix 3, asn1-combinators, domain-name, fmt, gmap, pbkdf, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk, ipaddr 4, logs, base64 5}: 6 7buildDunePackage rec { 8 minimalOCamlVersion = "4.08"; 9 10 pname = "x509"; 11 version = "0.16.4"; 12 13 duneVersion = "3"; 14 15 src = fetchurl { 16 url = "https://github.com/mirleft/ocaml-x509/releases/download/v${version}/x509-${version}.tbz"; 17 hash = "sha256-XegxhdASQK/I7Xd0gJSLumTGbCYFpWsjR7PlZSWqaVo="; 18 }; 19 20 checkInputs = [ alcotest cstruct-unix ]; 21 propagatedBuildInputs = [ asn1-combinators domain-name fmt gmap mirage-crypto mirage-crypto-pk mirage-crypto-ec pbkdf logs base64 ipaddr ]; 22 23 doCheck = true; 24 25 meta = with lib; { 26 homepage = "https://github.com/mirleft/ocaml-x509"; 27 description = "X509 (RFC5280) handling in OCaml"; 28 license = licenses.bsd2; 29 maintainers = with maintainers; [ vbgl ]; 30 }; 31}