diff options
author | Florent Becker <florent.becker@ens-lyon.org> | 2014-05-15 14:11:46 +0200 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-09-06 12:44:32 +0400 |
commit | 2ca3c23ddc7bb7881a8219b7e7931062df053dc4 (patch) | |
tree | e7791b88c939f56a26e3bf467c6f741ab069fe99 /pkgs/development/ocaml-modules/calendar/default.nix | |
parent | 2e33964a6a97b738764045960f4f87a328c2ae70 (diff) |
Add a derivation for ocaml-calendar
Diffstat (limited to 'pkgs/development/ocaml-modules/calendar/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/calendar/default.nix | 23 |
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 0000000000000..0010508a215b4 --- /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 + ]; + }; +} |