Unverified Commit fc0f8541 authored by Vincent Laporte's avatar Vincent Laporte Committed by GitHub
Browse files

ocamlPackages.posix-base: 2.2.0 → 4.0.2 (#501835)

parents 1a8b2842 405fec74
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})
+20 −0
Original line number Diff line number Diff line
{
  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";
  };
}
+0 −2
Original line number Diff line number Diff line
{
  buildDunePackage,
  posix-base,
  unix-errno,
}:

buildDunePackage {
@@ -10,7 +9,6 @@ buildDunePackage {

  propagatedBuildInputs = [
    posix-base
    unix-errno
  ];

  meta = posix-base.meta // {
+7 −1
Original line number Diff line number Diff line
{ 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;
+2 −2
Original line number Diff line number Diff line
@@ -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;
Loading