mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
ed1bc6d369
Fixes build failures introduced by fbac0f4a6d
28 lines
804 B
Nix
28 lines
804 B
Nix
{ lib, buildDunePackage, fetchurl
|
|
, cstruct, zarith, bigarray-compat, stdlib-shims, ptime, alcotest
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
pname = "asn1-combinators";
|
|
version = "0.2.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-v${version}.tbz";
|
|
sha256 = "sha256-ASreDYhp72IQY3UsHPjqAm9rxwL+0Q35r1ZojikbGpE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cstruct zarith bigarray-compat stdlib-shims 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 ];
|
|
};
|
|
}
|