Files
nixpkgs/pkgs/development/ocaml-modules/asn1-combinators/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

37 lines
839 B
Nix

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