ocaml-asn1-combinators: update from 0.1.1 to 0.1.2
This commit is contained in:
parent
d5a4c3d21d
commit
a36326d197
@ -1,22 +1,26 @@
|
|||||||
{ stdenv, fetchzip, ocaml, findlib, cstruct, zarith }:
|
{ stdenv, fetchzip, ocaml, findlib, cstruct, zarith, ounit }:
|
||||||
|
|
||||||
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
|
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
|
||||||
|
|
||||||
let version = "0.1.1"; in
|
let version = "0.1.2"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml-asn1-combinators-${version}";
|
name = "ocaml-asn1-combinators-${version}";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/mirleft/ocaml-asn1-combinators/archive/${version}.tar.gz";
|
url = "https://github.com/mirleft/ocaml-asn1-combinators/archive/${version}.tar.gz";
|
||||||
sha256 = "1wl5g2cqd4dk33w0ski6z425cs4sgj980fw0xkwgz1w1xzywh4i2";
|
sha256 = "13vpdgcyph4vq3gcp8b16756s4nz3crpxhxfhcqgc1ffz61gc0h5";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ];
|
buildInputs = [ ocaml findlib ounit ];
|
||||||
propagatedBuildInputs = [ cstruct zarith ];
|
propagatedBuildInputs = [ cstruct zarith ];
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
configureFlags = "--enable-tests";
|
||||||
|
doCheck = true;
|
||||||
|
checkTarget = "test";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/mirleft/ocaml-asn1-combinators;
|
homepage = https://github.com/mirleft/ocaml-asn1-combinators;
|
||||||
description = "Combinators for expressing ASN.1 grammars in OCaml";
|
description = "Combinators for expressing ASN.1 grammars in OCaml";
|
||||||
|
Loading…
Reference in New Issue
Block a user