ocamlPackages.posix-base: 2.2.0 → 4.0.2
ocamlPackages.posix-errno: init at 4.0.2 ocamlPackages.srt: 0.3.3 → 0.3.4
This commit is contained in:
@@ -6,19 +6,17 @@
|
||||
integers,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "posix-base";
|
||||
version = "2.2.0";
|
||||
version = "4.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "savonet";
|
||||
repo = "ocaml-posix";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-JKJIiuo4lW8DmcK1mJlT22784J1NS2ig860jDbRIjIo=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-nBSIuz4WEnESlECdKujEcSxFOcSBFxW1zo7J/lT/lCY=";
|
||||
};
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ctypes
|
||||
integers
|
||||
@@ -30,4 +28,4 @@ buildDunePackage rec {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
buildDunePackage,
|
||||
posix-base,
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "posix-errno";
|
||||
|
||||
inherit (posix-base) version src;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
posix-base
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = posix-base.meta // {
|
||||
description = "Posix-errno provides comprehensive errno handling";
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
buildDunePackage,
|
||||
posix-base,
|
||||
unix-errno,
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
@@ -10,7 +9,6 @@ buildDunePackage {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
posix-base
|
||||
unix-errno
|
||||
];
|
||||
|
||||
meta = posix-base.meta // {
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
{ buildDunePackage, posix-base }:
|
||||
{
|
||||
buildDunePackage,
|
||||
posix-base,
|
||||
dune-configurator,
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "posix-socket";
|
||||
@@ -7,6 +11,8 @@ buildDunePackage {
|
||||
|
||||
minimalOCamlVersion = "4.12";
|
||||
|
||||
buildInputs = [ dune-configurator ];
|
||||
|
||||
propagatedBuildInputs = [ posix-base ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
buildDunePackage,
|
||||
posix-base,
|
||||
posix-types,
|
||||
unix-errno,
|
||||
posix-errno,
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
@@ -14,7 +14,7 @@ buildDunePackage {
|
||||
propagatedBuildInputs = [
|
||||
posix-base
|
||||
posix-types
|
||||
unix-errno
|
||||
posix-errno
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -8,17 +8,17 @@
|
||||
ctypes-foreign,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "srt";
|
||||
version = "0.3.3";
|
||||
version = "0.3.4";
|
||||
|
||||
minimalOCamlVersion = "4.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "savonet";
|
||||
repo = "ocaml-srt";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FVgOEBPYZz7SQ5c6mLAssDwY1NuXsV3ghP7OyLRd9Kw=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-+1/TffqssRA9YR3KLfbAr/ZpDF5XUKw24gj4HWrhObU=";
|
||||
};
|
||||
|
||||
buildInputs = [ dune-configurator ];
|
||||
@@ -31,10 +31,10 @@ buildDunePackage rec {
|
||||
meta = {
|
||||
description = "OCaml bindings for the libsrt library";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
inherit (src.meta) homepage;
|
||||
homepage = "https://github.com/savonet/ocaml-srt";
|
||||
maintainers = with lib.maintainers; [
|
||||
vbgl
|
||||
dandellion
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1746,6 +1746,8 @@ let
|
||||
|
||||
posix-base = callPackage ../development/ocaml-modules/posix/base.nix { };
|
||||
|
||||
posix-errno = callPackage ../development/ocaml-modules/posix/errno.nix { };
|
||||
|
||||
posix-math2 = callPackage ../development/ocaml-modules/posix/math2.nix { };
|
||||
|
||||
posix-socket = callPackage ../development/ocaml-modules/posix/socket.nix { };
|
||||
|
||||
Reference in New Issue
Block a user