mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #220543 from vbgl/ocaml-duration-0.2.1
ocamlPackages.duration: 0.2.0 → 0.2.1
This commit is contained in:
commit
1c03223e5c
@ -5,6 +5,8 @@ buildDunePackage {
|
||||
|
||||
inherit (alcotest) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ alcotest lwt logs mirage-clock duration ];
|
||||
|
||||
doCheck = true;
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "duration";
|
||||
version = "0.2.0";
|
||||
version = "0.2.1";
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/hannesm/duration/releases/download/${version}/duration-${version}.tbz";
|
||||
sha256 = "sha256-rRT7daWm9z//fvFyEXiSXuVVzw8jsj46sykYS8DBzmk=";
|
||||
url = "https://github.com/hannesm/duration/releases/download/v${version}/duration-${version}.tbz";
|
||||
hash = "sha256-xzjB84z7mYIMEhzT3fgZ3ksiKPDVDqy9HMPOmefHHis=";
|
||||
};
|
||||
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
|
@ -7,6 +7,7 @@ buildDunePackage rec {
|
||||
version = "0.5.0";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/roburio/happy-eyeballs/releases/download/v${version}/happy-eyeballs-${version}.tbz";
|
||||
|
@ -5,6 +5,7 @@ buildDunePackage rec {
|
||||
version = "0.4.0";
|
||||
|
||||
minimalOCamlVersion = "4.04";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/metrics/releases/download/v${version}/metrics-${version}.tbz";
|
||||
|
@ -6,6 +6,8 @@ buildDunePackage rec {
|
||||
pname = "metrics-influx";
|
||||
inherit (metrics) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ duration fmt lwt metrics ];
|
||||
|
||||
meta = metrics.meta // {
|
||||
|
@ -5,6 +5,8 @@ buildDunePackage {
|
||||
|
||||
inherit (metrics) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ logs lwt metrics ];
|
||||
|
||||
meta = metrics.meta // {
|
||||
|
@ -7,6 +7,7 @@ buildDunePackage {
|
||||
inherit (metrics) src version;
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ fmt logs metrics ];
|
||||
|
||||
|
@ -6,6 +6,8 @@ buildDunePackage rec {
|
||||
|
||||
inherit (metrics) version src;
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
# Fixes https://github.com/mirage/metrics/issues/57
|
||||
postPatch = ''
|
||||
substituteInPlace src/unix/dune --replace "mtime mtime.clock" "mtime"
|
||||
|
@ -1,19 +1,19 @@
|
||||
{ lib, buildDunePackage, fetchurl, ocaml_lwt }:
|
||||
{ lib, buildDunePackage, fetchurl, lwt }:
|
||||
|
||||
buildDunePackage rec {
|
||||
minimumOCamlVersion = "4.06";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
pname = "mirage-time";
|
||||
version = "3.0.0";
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-time/releases/download/v${version}/mirage-time-v${version}.tbz";
|
||||
sha256 = "sha256-DUCUm1jix+i3YszIzgZjRQRiM8jJXQ49F6JC/yicvXw=";
|
||||
hash = "sha256-DUCUm1jix+i3YszIzgZjRQRiM8jJXQ49F6JC/yicvXw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ocaml_lwt ];
|
||||
propagatedBuildInputs = [ lwt ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mirage/mirage-time";
|
||||
|
@ -1,11 +1,12 @@
|
||||
{ buildDunePackage, fetchurl, mirage-time, ocaml_lwt, duration }:
|
||||
{ buildDunePackage, fetchurl, mirage-time, lwt, duration }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-time-unix";
|
||||
|
||||
inherit (mirage-time) src useDune2 version minimumOCamlVersion;
|
||||
inherit (mirage-time) src version;
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ mirage-time ocaml_lwt duration ];
|
||||
propagatedBuildInputs = [ mirage-time lwt duration ];
|
||||
|
||||
meta = mirage-time.meta // {
|
||||
description = "Time operations for MirageOS on Unix";
|
||||
|
@ -4,9 +4,11 @@ buildDunePackage rec {
|
||||
pname = "mirage-unix";
|
||||
version = "5.0.1";
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "sha256-U1oLznUDBcJLcVygfSiyl5qRLDM27cm/WrjT0vSGhPg=";
|
||||
hash = "sha256-U1oLznUDBcJLcVygfSiyl5qRLDM27cm/WrjT0vSGhPg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ lwt duration mirage-runtime ];
|
||||
|
@ -9,10 +9,11 @@ buildDunePackage rec {
|
||||
version = "0.6.0";
|
||||
|
||||
minimalOCamlVersion = "4.06";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "sha256-fzRoNFqdnj4Ke+eNdo5crvbnKDx6/+dQyu+K3rD5dYw=";
|
||||
hash = "sha256-fzRoNFqdnj4Ke+eNdo5crvbnKDx6/+dQyu+K3rD5dYw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user