depot/third_party/nixpkgs/pkgs/development/ocaml-modules/asn1-combinators/default.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

28 lines
710 B
Nix

{ lib, buildDunePackage, fetchurl
, ptime
, alcotest
}:
buildDunePackage rec {
minimalOCamlVersion = "4.08";
pname = "asn1-combinators";
version = "0.3.1";
src = fetchurl {
url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-${version}.tbz";
hash = "sha256-+imExupuHhxP4gM/AWWvYRljwkAM4roFEAS3ffxVfE4=";
};
propagatedBuildInputs = [ ptime ];
doCheck = true;
checkInputs = [ alcotest ];
meta = with lib; {
homepage = "https://github.com/mirleft/ocaml-asn1-combinators";
description = "Combinators for expressing ASN.1 grammars in OCaml";
license = licenses.isc;
maintainers = with maintainers; [ vbgl ];
};
}