summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/calendar
diff options
context:
space:
mode:
authorFlorent Becker <florent.becker@ens-lyon.org>2014-05-15 14:11:46 +0200
committerMichael Raskin <7c6f434c@mail.ru>2014-09-06 12:44:32 +0400
commit2ca3c23ddc7bb7881a8219b7e7931062df053dc4 (patch)
treee7791b88c939f56a26e3bf467c6f741ab069fe99 /pkgs/development/ocaml-modules/calendar
parent2e33964a6a97b738764045960f4f87a328c2ae70 (diff)
downloadnixpkgs-2ca3c23ddc7bb7881a8219b7e7931062df053dc4.tar
nixpkgs-2ca3c23ddc7bb7881a8219b7e7931062df053dc4.tar.gz
nixpkgs-2ca3c23ddc7bb7881a8219b7e7931062df053dc4.tar.bz2
nixpkgs-2ca3c23ddc7bb7881a8219b7e7931062df053dc4.tar.lz
nixpkgs-2ca3c23ddc7bb7881a8219b7e7931062df053dc4.tar.xz
nixpkgs-2ca3c23ddc7bb7881a8219b7e7931062df053dc4.tar.zst
nixpkgs-2ca3c23ddc7bb7881a8219b7e7931062df053dc4.zip
Add a derivation for ocaml-calendar
Diffstat (limited to 'pkgs/development/ocaml-modules/calendar')
-rw-r--r--pkgs/development/ocaml-modules/calendar/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/calendar/default.nix b/pkgs/development/ocaml-modules/calendar/default.nix
new file mode 100644
index 00000000000..0010508a215
--- /dev/null
+++ b/pkgs/development/ocaml-modules/calendar/default.nix
@@ -0,0 +1,23 @@
+{stdenv, fetchurl, ocaml, findlib}:
+
+stdenv.mkDerivation {
+  name = "ocaml-calendar-2.03.2";
+  src = fetchurl {
+    url = https://forge.ocamlcore.org/frs/download.php/915/calendar-2.03.2.tar.gz;
+    sha256 = "04pvhwb664g3s644c7v7419a3kvf5s3pynkhmk5j59dvlfm1yf0f";
+    };
+
+  buildInputs = [ocaml findlib];
+
+  createFindlibDestdir = true;
+
+  meta =  {
+    homepage = https://forge.ocamlcore.org/projects/calendar/;
+    description = "An Objective Caml library managing dates and times.";
+    license = "LGPL";
+    platforms = ocaml.meta.platforms;
+    maintainers = [
+      stdenv.lib.maintainers.gal_bolle
+    ];
+  };
+}