ocamlPackages.posix-math2: init at 2.2.0 (#385383)

This commit is contained in:
Ulrik Strid
2025-03-01 20:51:16 +01:00
committed by GitHub
6 changed files with 23 additions and 8 deletions
@@ -13,11 +13,10 @@ buildDunePackage rec {
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-posix";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-JKJIiuo4lW8DmcK1mJlT22784J1NS2ig860jDbRIjIo=";
};
duneVersion = "3";
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
@@ -0,0 +1,19 @@
{
buildDunePackage,
posix-base,
unix-errno,
}:
buildDunePackage {
pname = "posix-math2";
inherit (posix-base) src version;
propagatedBuildInputs = [
posix-base
unix-errno
];
meta = posix-base.meta // {
description = "Bindings for posix math";
};
}
@@ -5,7 +5,7 @@ buildDunePackage {
inherit (posix-base) version src;
duneVersion = "3";
minimalOCamlVersion = "4.12";
propagatedBuildInputs = [ posix-base ];
@@ -11,8 +11,6 @@ buildDunePackage {
inherit (posix-base) version src;
duneVersion = "3";
propagatedBuildInputs = [
posix-base
posix-types
@@ -5,9 +5,6 @@ buildDunePackage {
inherit (posix-base) version src;
minimalOCamlVersion = "4.03";
duneVersion = "3";
propagatedBuildInputs = [ posix-base ];
meta = posix-base.meta // {
+2
View File
@@ -1570,6 +1570,8 @@ let
posix-base = callPackage ../development/ocaml-modules/posix/base.nix { };
posix-math2 = callPackage ../development/ocaml-modules/posix/math2.nix { };
posix-socket = callPackage ../development/ocaml-modules/posix/socket.nix { };
posix-time2 = callPackage ../development/ocaml-modules/posix/time2.nix { };