push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
ctypes,
integers,
}:
buildDunePackage rec {
pname = "posix-base";
version = "2.2.0";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-posix";
tag = "v${version}";
hash = "sha256-JKJIiuo4lW8DmcK1mJlT22784J1NS2ig860jDbRIjIo=";
};
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
ctypes
integers
];
meta = {
homepage = "https://www.liquidsoap.info/ocaml-posix/";
description = "Base module for the posix bindings";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@@ -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";
};
}

View File

@@ -0,0 +1,18 @@
{ buildDunePackage, posix-base }:
buildDunePackage {
pname = "posix-socket";
inherit (posix-base) version src;
minimalOCamlVersion = "4.12";
propagatedBuildInputs = [ posix-base ];
doCheck = true;
meta = posix-base.meta // {
description = "Bindings for posix sockets";
};
}

View File

@@ -0,0 +1,26 @@
{
lib,
buildDunePackage,
posix-base,
posix-types,
unix-errno,
}:
buildDunePackage {
pname = "posix-time2";
inherit (posix-base) version src;
propagatedBuildInputs = [
posix-base
posix-types
unix-errno
];
doCheck = true;
meta = posix-base.meta // {
description = "Posix-time2 provides the types and bindings for posix time APIs";
maintainers = with lib.maintainers; [ dandellion ];
};
}

View File

@@ -0,0 +1,13 @@
{ buildDunePackage, posix-base }:
buildDunePackage {
pname = "posix-types";
inherit (posix-base) version src;
propagatedBuildInputs = [ posix-base ];
meta = posix-base.meta // {
description = "Bindings for the types defined in <sys/types.h>";
};
}