2021-10-30 20:50:23 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
|
2015-12-15 21:43:25 +00:00
|
|
|
|
2021-10-30 20:50:23 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "ocaml-iso8601";
|
2024-02-24 14:56:30 +00:00
|
|
|
version = "0.2.5";
|
2021-10-30 20:50:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sagotch";
|
|
|
|
repo = "ISO8601.ml";
|
|
|
|
rev = version;
|
2024-02-24 14:56:30 +00:00
|
|
|
sha256 = "sha256-QWjZ+2AjvXnnRVenbyCG/hSjfW53bHiftQUtWpK/7I8=";
|
2015-12-15 21:43:25 +00:00
|
|
|
};
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
2015-12-15 21:43:25 +00:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00: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;
|
2021-10-30 20:50:23 +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
|
|
|
};
|
|
|
|
}
|