about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/mirage-time/default.nix
blob: 2e91bda61d6bd6a84d883af051290e06da3abf44 (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 = "2.0.1";

  useDune2 = true;

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

  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 ];
  };
}