blob: 4b194332d08641d6f41025f5b1c3d153e6ca6548 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ stdenv, fetchzip, ocaml, findlib }:
let version = "0.2.4"; in
stdenv.mkDerivation {
name = "ocaml-iso8601-${version}";
src = fetchzip {
url = "https://github.com/sagotch/ISO8601.ml/archive/${version}.tar.gz";
sha256 = "0ypdd1p04xdjxxx3b61wp7abswfrq3vcvwwaxvywxwqljw0dhydi";
};
buildInputs = [ ocaml findlib ];
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;
platforms = ocaml.meta.platforms;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
};
}
|