lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 18.09-beta 26 lines 755 B view raw
1{ stdenv, buildOcaml, ocaml, fetchurl, type_conv }: 2 3if stdenv.lib.versionAtLeast ocaml.version "4.06" 4then throw "variantslib-109.15.03 is not available for OCaml ${ocaml.version}" 5else 6 7buildOcaml rec { 8 name = "variantslib"; 9 version = "109.15.03"; 10 11 minimumSupportedOcamlVersion = "4.00"; 12 13 src = fetchurl { 14 url = "https://github.com/janestreet/variantslib/archive/${version}.tar.gz"; 15 sha256 = "a948dcdd4ca54786fe0646386b6e37a9db03bf276c6557ea374d82740bf18055"; 16 }; 17 18 propagatedBuildInputs = [ type_conv ]; 19 20 meta = with stdenv.lib; { 21 homepage = https://github.com/janestreet/variantslib; 22 description = "OCaml variants as first class values"; 23 license = licenses.asl20; 24 maintainers = [ maintainers.ericbmerritt ]; 25 }; 26}