2016-10-08 08:44:25 +02:00
|
|
|
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
|
2015-12-15 22:43:25 +01:00
|
|
|
|
|
|
|
let version = "0.2.4"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "ocaml-iso8601";
|
|
|
|
inherit version;
|
2015-12-15 22:43:25 +01:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/sagotch/ISO8601.ml/archive/${version}.tar.gz";
|
|
|
|
sha256 = "0ypdd1p04xdjxxx3b61wp7abswfrq3vcvwwaxvywxwqljw0dhydi";
|
|
|
|
};
|
|
|
|
|
2016-10-08 08:44:25 +02:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
2015-12-15 22:43:25 +01:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
2019-11-16 01:41:23 +01: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";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
2015-12-24 18:49:07 +01:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-12-15 22:43:25 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|