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