diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-12-15 22:43:25 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-12-15 22:43:25 +0100 |
commit | 48e7eb65f2ecf12b1399395cd11e248e9c676e8f (patch) | |
tree | 02fffb58995c937675473119700f74c6f64b78a2 /pkgs/development/ocaml-modules/iso8601 | |
parent | 23efd0e6179e9166c64d5bddc78e63d7117284bc (diff) | |
download | nixlib-48e7eb65f2ecf12b1399395cd11e248e9c676e8f.tar nixlib-48e7eb65f2ecf12b1399395cd11e248e9c676e8f.tar.gz nixlib-48e7eb65f2ecf12b1399395cd11e248e9c676e8f.tar.bz2 nixlib-48e7eb65f2ecf12b1399395cd11e248e9c676e8f.tar.lz nixlib-48e7eb65f2ecf12b1399395cd11e248e9c676e8f.tar.xz nixlib-48e7eb65f2ecf12b1399395cd11e248e9c676e8f.tar.zst nixlib-48e7eb65f2ecf12b1399395cd11e248e9c676e8f.zip |
ocaml-iso8601: init at 0.2.4
OCaml library for ISO 8601 and RFC 3999 date parsing. Homepage: http://sagotch.github.io/ISO8601.ml/
Diffstat (limited to 'pkgs/development/ocaml-modules/iso8601')
-rw-r--r-- | pkgs/development/ocaml-modules/iso8601/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/iso8601/default.nix b/pkgs/development/ocaml-modules/iso8601/default.nix new file mode 100644 index 000000000000..4b194332d086 --- /dev/null +++ b/pkgs/development/ocaml-modules/iso8601/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchzip, ocaml, findlib }: + +let version = "0.2.4"; in + +stdenv.mkDerivation { + name = "ocaml-iso8601-${version}"; + src = fetchzip { + url = "https://github.com/sagotch/ISO8601.ml/archive/${version}.tar.gz"; + sha256 = "0ypdd1p04xdjxxx3b61wp7abswfrq3vcvwwaxvywxwqljw0dhydi"; + }; + + buildInputs = [ ocaml findlib ]; + createFindlibDestdir = true; + + meta = { + homepage = http://sagotch.github.io/ISO8601.ml/; + description = "ISO 8601 and RFC 3999 date parsing for OCaml"; + license = stdenv.lib.licenses.mit; + platforms = ocaml.meta.platforms; + maintainers = with stdenv.lib.maintainers; [ vbgl ]; + }; +} |