diff options
author | Eric Merritt <eric@afiniate.com> | 2015-05-24 10:45:01 -0700 |
---|---|---|
committer | Eric Merritt <eric@afiniate.com> | 2015-05-24 12:32:45 -0700 |
commit | 8751d1ea1a43d877ebce2b57b2ce2f1bb1087593 (patch) | |
tree | ca4fa32a5a3672335b409402e1363e2c306b9184 /pkgs/development/ocaml-modules/type_conv/108.08.00.nix | |
parent | 82e098fd9319fe4e23c98819972fa3a0206442bf (diff) | |
download | nixlib-8751d1ea1a43d877ebce2b57b2ce2f1bb1087593.tar nixlib-8751d1ea1a43d877ebce2b57b2ce2f1bb1087593.tar.gz nixlib-8751d1ea1a43d877ebce2b57b2ce2f1bb1087593.tar.bz2 nixlib-8751d1ea1a43d877ebce2b57b2ce2f1bb1087593.tar.lz nixlib-8751d1ea1a43d877ebce2b57b2ce2f1bb1087593.tar.xz nixlib-8751d1ea1a43d877ebce2b57b2ce2f1bb1087593.tar.zst nixlib-8751d1ea1a43d877ebce2b57b2ce2f1bb1087593.zip |
rename ocaml_typeconv to type_conv
The actual name of the package is type_conv (https://github.com/janestreet/type_conv). Having it named ocaml_typeconv adds a verbosity that isn't required and actually makes the package harder to find.
Diffstat (limited to 'pkgs/development/ocaml-modules/type_conv/108.08.00.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/type_conv/108.08.00.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/type_conv/108.08.00.nix b/pkgs/development/ocaml-modules/type_conv/108.08.00.nix new file mode 100644 index 000000000000..d3e32105f7df --- /dev/null +++ b/pkgs/development/ocaml-modules/type_conv/108.08.00.nix @@ -0,0 +1,29 @@ +{stdenv, fetchurl, ocaml, findlib, camlp4}: + +let + ocaml_version = (builtins.parseDrvName ocaml.name).version; +in + +assert stdenv.lib.versionOlder "3.12" ocaml_version; + +stdenv.mkDerivation { + name = "ocaml-type_conv-108.08.00"; + + src = fetchurl { + url = https://ocaml.janestreet.com/ocaml-core/108.08.00/individual/type_conv-108.08.00.tar.gz; + sha256 = "08ysikwwp69zvc147lzzg79nwlrzrk738rj0ggcfadi8h5il42sl"; + }; + + buildInputs = [ocaml findlib camlp4]; + + createFindlibDestdir = true; + + meta = with stdenv.lib; { + homepage = https://ocaml.janestreet.com/; + description = "Support library for OCaml preprocessor type conversions"; + license = licenses.asl20; + branch = "108"; + platforms = ocaml.meta.platforms; + maintainers = with maintainers; [ z77z ]; + }; +} |