lol

Merge pull request #284030 from vbgl/ocaml-timedesc-2.0.0

ocamlPackages.timedesc: init at 2.0.0

authored by

Ulrik Strid and committed by
GitHub
a2581816 a1d89e30

+71
+36
pkgs/development/ocaml-modules/timedesc/default.nix
··· 1 + { lib 2 + , fetchurl 3 + , buildDunePackage 4 + , angstrom 5 + , ptime 6 + , seq 7 + , timedesc-tzdb 8 + , timedesc-tzlocal 9 + }: 10 + 11 + buildDunePackage rec { 12 + pname = "timedesc"; 13 + version = "2.0.0"; 14 + 15 + src = fetchurl { 16 + url = "https://github.com/daypack-dev/timere/releases/download/timedesc-${version}/timedesc-${version}.tar.gz"; 17 + hash = "sha256-NnnQpWOE1mt/F5lkWRPdDwpqXCUlcNi+Z5GE6YQQLK8="; 18 + }; 19 + 20 + sourceRoot = "."; 21 + 22 + propagatedBuildInputs = [ 23 + angstrom 24 + ptime 25 + seq 26 + timedesc-tzdb 27 + timedesc-tzlocal 28 + ]; 29 + 30 + meta = { 31 + description = "OCaml date time handling library"; 32 + homepage = "https://github.com/daypack-dev/timere"; 33 + license = lib.licenses.mit; 34 + maintainers = [ lib.maintainers.vbgl ]; 35 + }; 36 + }
+15
pkgs/development/ocaml-modules/timedesc/tzdb.nix
··· 1 + { lib 2 + , buildDunePackage 3 + , timedesc 4 + }: 5 + 6 + buildDunePackage { 7 + pname = "timedesc-tzdb"; 8 + 9 + inherit (timedesc) version src sourceRoot; 10 + 11 + meta = timedesc.meta // { 12 + description = "Virtual library for Timedesc time zone database backends"; 13 + }; 14 + } 15 +
+16
pkgs/development/ocaml-modules/timedesc/tzlocal.nix
··· 1 + { lib 2 + , buildDunePackage 3 + , timedesc 4 + }: 5 + 6 + buildDunePackage { 7 + pname = "timedesc-tzlocal"; 8 + 9 + inherit (timedesc) version src sourceRoot; 10 + 11 + minimalOCamlVersion = "4.08"; 12 + 13 + meta = timedesc.meta // { 14 + description = "Virtual library for Timedesc local time zone detection backends"; 15 + }; 16 + }
+4
pkgs/top-level/ocaml-packages.nix
··· 1757 1757 1758 1758 timed = callPackage ../development/ocaml-modules/timed { }; 1759 1759 1760 + timedesc = callPackage ../development/ocaml-modules/timedesc { }; 1761 + timedesc-tzdb = callPackage ../development/ocaml-modules/timedesc/tzdb.nix { }; 1762 + timedesc-tzlocal = callPackage ../development/ocaml-modules/timedesc/tzlocal.nix { }; 1763 + 1760 1764 tiny_httpd = callPackage ../development/ocaml-modules/tiny_httpd { }; 1761 1765 1762 1766 tls = callPackage ../development/ocaml-modules/tls { };