2021-01-11 12:49:15 +00:00
|
|
|
{ stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild }:
|
2015-12-15 21:43:25 +00:00
|
|
|
|
|
|
|
let version = "0.2.4"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "ocaml-iso8601";
|
|
|
|
inherit version;
|
2015-12-15 21:43:25 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/sagotch/ISO8601.ml/archive/${version}.tar.gz";
|
|
|
|
sha256 = "0ypdd1p04xdjxxx3b61wp7abswfrq3vcvwwaxvywxwqljw0dhydi";
|
|
|
|
};
|
|
|
|
|
2016-10-08 07:44:25 +01:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
2015-12-15 21:43:25 +00:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://ocaml-community.github.io/ISO8601.ml/";
|
2015-12-15 21:43:25 +00:00
|
|
|
description = "ISO 8601 and RFC 3999 date parsing for OCaml";
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.mit;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2021-01-11 12:49:15 +00:00
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
2015-12-15 21:43:25 +00:00
|
|
|
};
|
|
|
|
}
|