mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Update OCaml Type_conv to version 109.60.01.
Also keep the old version 3.0.5 around for compatibility with OCaml 3.12.1.
This commit is contained in:
parent
287b22cc63
commit
841a02cabb
23
pkgs/development/ocaml-modules/typeconv/3.0.5.nix
Normal file
23
pkgs/development/ocaml-modules/typeconv/3.0.5.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{stdenv, fetchurl, ocaml, findlib}:
|
||||
|
||||
# note: works only with ocaml >3.12
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-typeconv-3.0.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://forge.ocamlcore.org/frs/download.php/821/type_conv-3.0.5.tar.gz";
|
||||
sha256 = "90ac6c401a600a23012a3f513def6f67d4979b11bd551f4d0af78f0f0b479198";
|
||||
};
|
||||
|
||||
buildInputs = [ocaml findlib ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://forge.ocamlcore.org/projects/type-conv/";
|
||||
description = "Support library for OCaml preprocessor type conversions";
|
||||
license = "LGPL";
|
||||
platforms = ocaml.meta.platforms;
|
||||
};
|
||||
}
|
@ -1,13 +1,11 @@
|
||||
{stdenv, fetchurl, ocaml, findlib}:
|
||||
|
||||
# note: works only with ocaml >3.12
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-typeconv-3.0.5";
|
||||
name = "ocaml-typeconv-109.60.01";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://forge.ocamlcore.org/frs/download.php/821/type_conv-3.0.5.tar.gz";
|
||||
sha256 = "90ac6c401a600a23012a3f513def6f67d4979b11bd551f4d0af78f0f0b479198";
|
||||
url = https://github.com/janestreet/type_conv/archive/109.60.01.tar.gz;
|
||||
sha256 = "0lpxri68glgq1z2pp02rp45cb909xywbff8d4idljrf6fzzil2zx";
|
||||
};
|
||||
|
||||
buildInputs = [ocaml findlib ];
|
||||
@ -17,7 +15,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://forge.ocamlcore.org/projects/type-conv/";
|
||||
description = "Support library for OCaml preprocessor type conversions";
|
||||
license = "LGPL";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = with stdenv.lib.maintainers; [ z77z ];
|
||||
};
|
||||
}
|
||||
|
@ -2939,6 +2939,8 @@ let
|
||||
|
||||
ocaml_typeconv = callPackage ../development/ocaml-modules/typeconv { };
|
||||
|
||||
ocaml_typeconv_3_0_5 = callPackage ../development/ocaml-modules/typeconv/3.0.5.nix { };
|
||||
|
||||
ocaml_sexplib = callPackage ../development/ocaml-modules/sexplib { };
|
||||
|
||||
ocaml_extlib = callPackage ../development/ocaml-modules/extlib { };
|
||||
|
Loading…
Reference in New Issue
Block a user