summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/type_conv
diff options
context:
space:
mode:
authorts468 <ts468@users.noreply.github.com>2015-09-06 21:15:10 +0200
committerts468 <ts468@users.noreply.github.com>2015-09-06 21:15:10 +0200
commit054be41e04e2f583433c8d69f73f63389aec7f77 (patch)
tree57b99067b9535540280af72c31b134d8ba8e1589 /pkgs/development/ocaml-modules/type_conv
parenta9dab9df6110f6f5c8300c4408c845d8176539bd (diff)
downloadnixpkgs-054be41e04e2f583433c8d69f73f63389aec7f77.tar
nixpkgs-054be41e04e2f583433c8d69f73f63389aec7f77.tar.gz
nixpkgs-054be41e04e2f583433c8d69f73f63389aec7f77.tar.bz2
nixpkgs-054be41e04e2f583433c8d69f73f63389aec7f77.tar.lz
nixpkgs-054be41e04e2f583433c8d69f73f63389aec7f77.tar.xz
nixpkgs-054be41e04e2f583433c8d69f73f63389aec7f77.tar.zst
nixpkgs-054be41e04e2f583433c8d69f73f63389aec7f77.zip
Revert "ocaml-modules: fix naming: "_" -> "-""
Diffstat (limited to 'pkgs/development/ocaml-modules/type_conv')
-rw-r--r--pkgs/development/ocaml-modules/type_conv/108.08.00.nix29
-rw-r--r--pkgs/development/ocaml-modules/type_conv/109.60.01.nix28
-rw-r--r--pkgs/development/ocaml-modules/type_conv/112.01.01.nix20
3 files changed, 77 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 00000000000..d3e32105f7d
--- /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 ];
+  };
+}
diff --git a/pkgs/development/ocaml-modules/type_conv/109.60.01.nix b/pkgs/development/ocaml-modules/type_conv/109.60.01.nix
new file mode 100644
index 00000000000..fe42dd5ddcb
--- /dev/null
+++ b/pkgs/development/ocaml-modules/type_conv/109.60.01.nix
@@ -0,0 +1,28 @@
+{stdenv, fetchurl, ocaml, findlib, camlp4}:
+
+let
+  ocaml_version = (builtins.parseDrvName ocaml.name).version;
+in
+
+assert stdenv.lib.versionOlder "4.00" ocaml_version;
+
+stdenv.mkDerivation {
+  name = "ocaml-type_conv-109.60.01";
+
+  src = fetchurl {
+    url = https://github.com/janestreet/type_conv/archive/109.60.01.tar.gz;
+    sha256 = "0lpxri68glgq1z2pp02rp45cb909xywbff8d4idljrf6fzzil2zx";
+  };
+
+  buildInputs = [ocaml findlib camlp4];
+
+  createFindlibDestdir = true;
+
+  meta = {
+    homepage = "http://forge.ocamlcore.org/projects/type-conv/";
+    description = "Support library for OCaml preprocessor type conversions";
+    license = stdenv.lib.licenses.lgpl21;
+    platforms = ocaml.meta.platforms;
+    maintainers = with stdenv.lib.maintainers; [ z77z ];
+  };
+}
diff --git a/pkgs/development/ocaml-modules/type_conv/112.01.01.nix b/pkgs/development/ocaml-modules/type_conv/112.01.01.nix
new file mode 100644
index 00000000000..e65306d1501
--- /dev/null
+++ b/pkgs/development/ocaml-modules/type_conv/112.01.01.nix
@@ -0,0 +1,20 @@
+{stdenv, fetchurl, buildOcaml}:
+
+buildOcaml rec {
+  minimumSupportedOcamlVersion = "4.02";
+
+  name = "type_conv";
+  version = "112.01.01";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/type_conv/archive/${version}.tar.gz";
+    sha256 = "dbbc33b7ab420e8442d79ba4308ea6c0c16903b310d33525be18841159aa8855";
+  };
+
+  meta = {
+    homepage = "https://github.com/janestreet/type_conv/";
+    description = "Support library for preprocessor type conversions";
+    license = stdenv.lib.licenses.asl20;
+    maintainers = with stdenv.lib.maintainers; [ z77z ericbmerritt ];
+  };
+}