1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 angstrom,
6 ptime,
7 seq,
8 timedesc-tzdb,
9 timedesc-tzlocal,
10}:
11
12buildDunePackage rec {
13 pname = "timedesc";
14 version = "3.1.0";
15
16 src = fetchurl {
17 url = "https://github.com/daypack-dev/timere/releases/download/timedesc-${version}/timedesc-${version}.tar.gz";
18 hash = "sha256-nEachJymJC8TP/Ha2rOFU3n09rxVlIZYmgQnYiNCiHE=";
19 };
20
21 sourceRoot = ".";
22
23 propagatedBuildInputs = [
24 angstrom
25 ptime
26 seq
27 timedesc-tzdb
28 timedesc-tzlocal
29 ];
30
31 meta = {
32 description = "OCaml date time handling library";
33 homepage = "https://github.com/daypack-dev/timere";
34 license = lib.licenses.mit;
35 maintainers = [ lib.maintainers.vbgl ];
36 };
37}