about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mirage-time/default.nix
blob: 1780ba05ac4702a127d1f9a09b0b86d742c26f3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildDunePackage, fetchurl, ocaml_lwt }:

buildDunePackage rec {
  minimumOCamlVersion = "4.06";

  pname = "mirage-time";
  version = "3.0.0";

  useDune2 = true;

  src = fetchurl {
    url = "https://github.com/mirage/mirage-time/releases/download/v${version}/mirage-time-v${version}.tbz";
    sha256 = "sha256-DUCUm1jix+i3YszIzgZjRQRiM8jJXQ49F6JC/yicvXw=";
  };

  propagatedBuildInputs = [ ocaml_lwt ];

  meta = with lib; {
    homepage = "https://github.com/mirage/mirage-time";
    description = "Time operations for MirageOS";
    license = licenses.isc;
    maintainers = with maintainers; [ sternenseemann ];
  };
}