2021-10-30 22:50:23 +02:00
|
|
|
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
|
2015-12-15 22:43:25 +01:00
|
|
|
|
2021-10-30 22:50:23 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "ocaml-iso8601";
|
2021-10-30 22:50:23 +02:00
|
|
|
version = "0.2.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sagotch";
|
|
|
|
repo = "ISO8601.ml";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-sXnYAJcU88797orzzfbA2XG91Lk8mDV677J1Am5o7Xo=";
|
2015-12-15 22:43:25 +01:00
|
|
|
};
|
|
|
|
|
2016-10-08 08:44:25 +02:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
2015-12-15 22:43:25 +01:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://ocaml-community.github.io/ISO8601.ml/";
|
2015-12-15 22:43:25 +01:00
|
|
|
description = "ISO 8601 and RFC 3999 date parsing for OCaml";
|
2021-01-11 13:49:15 +01:00
|
|
|
license = lib.licenses.mit;
|
2021-10-30 22:50:23 +02:00
|
|
|
platforms = ocaml.meta.platforms or [ ];
|
2021-01-11 13:49:15 +01:00
|
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
2015-12-15 22:43:25 +01:00
|
|
|
};
|
|
|
|
}
|