2021-12-19 01:06:50 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ocaml-iso8601";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "0.2.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sagotch";
|
|
|
|
repo = "ISO8601.ml";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-sXnYAJcU88797orzzfbA2XG91Lk8mDV677J1Am5o7Xo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://ocaml-community.github.io/ISO8601.ml/";
|
|
|
|
description = "ISO 8601 and RFC 3999 date parsing for OCaml";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.mit;
|
2021-12-19 01:06:50 +00:00
|
|
|
platforms = ocaml.meta.platforms or [ ];
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|