Adds ocaml-asn1-combinators
An OCaml library of combinators for expressing ASN.1 grammars. Homepage: https://github.com/mirleft/ocaml-asn1-combinators
This commit is contained in:
parent
9ce0c1cb71
commit
de3924a1a8
27
pkgs/development/ocaml-modules/asn1-combinators/default.nix
Normal file
27
pkgs/development/ocaml-modules/asn1-combinators/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchzip, ocaml, findlib, cstruct, zarith }:
|
||||||
|
|
||||||
|
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
|
||||||
|
|
||||||
|
let version = "0.1.1"; in
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ocaml-asn1-combinators-${version}";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/mirleft/ocaml-asn1-combinators/archive/${version}.tar.gz";
|
||||||
|
sha256 = "1wl5g2cqd4dk33w0ski6z425cs4sgj980fw0xkwgz1w1xzywh4i2";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib ];
|
||||||
|
propagatedBuildInputs = [ cstruct zarith ];
|
||||||
|
|
||||||
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://github.com/mirleft/ocaml-asn1-combinators;
|
||||||
|
description = "Combinators for expressing ASN.1 grammars in OCaml";
|
||||||
|
platforms = ocaml.meta.platforms;
|
||||||
|
license = stdenv.lib.licenses.bsd2;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||||
|
};
|
||||||
|
}
|
@ -3797,6 +3797,8 @@ let
|
|||||||
|
|
||||||
ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { };
|
ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { };
|
||||||
|
|
||||||
|
asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { };
|
||||||
|
|
||||||
bolt = callPackage ../development/ocaml-modules/bolt { };
|
bolt = callPackage ../development/ocaml-modules/bolt { };
|
||||||
|
|
||||||
camlidl = callPackage ../development/tools/ocaml/camlidl { };
|
camlidl = callPackage ../development/tools/ocaml/camlidl { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user