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