Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 28 lines 825 B view raw
1{ lib, buildDunePackage, fetchurl 2, cstruct, zarith, bigarray-compat, stdlib-shims, ptime, alcotest 3}: 4 5buildDunePackage rec { 6 minimalOCamlVersion = "4.08"; 7 duneVersion = "3"; 8 9 pname = "asn1-combinators"; 10 version = "0.2.6"; 11 12 src = fetchurl { 13 url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-v${version}.tbz"; 14 sha256 = "sha256-ASreDYhp72IQY3UsHPjqAm9rxwL+0Q35r1ZojikbGpE="; 15 }; 16 17 propagatedBuildInputs = [ cstruct zarith bigarray-compat stdlib-shims ptime ]; 18 19 doCheck = true; 20 checkInputs = [ alcotest ]; 21 22 meta = with lib; { 23 homepage = "https://github.com/mirleft/ocaml-asn1-combinators"; 24 description = "Combinators for expressing ASN.1 grammars in OCaml"; 25 license = licenses.isc; 26 maintainers = with maintainers; [ vbgl ]; 27 }; 28}