2015-09-06 21:15:10 +02:00
|
|
|
{stdenv, buildOcaml, fetchurl, type_conv}:
|
2015-05-24 19:59:45 +02:00
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "variantslib";
|
|
|
|
version = "109.15.03";
|
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.00";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/variantslib/archive/${version}.tar.gz";
|
|
|
|
sha256 = "a948dcdd4ca54786fe0646386b6e37a9db03bf276c6557ea374d82740bf18055";
|
|
|
|
};
|
|
|
|
|
2015-09-06 21:15:10 +02:00
|
|
|
propagatedBuildInputs = [ type_conv ];
|
2015-05-24 19:59:45 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/janestreet/variantslib;
|
|
|
|
description = "OCaml variants as first class values";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|