ocamlPackages.eigen: 0.3.3 → 0.4.0 (#479384)

This commit is contained in:
Vincent Laporte
2026-01-19 13:59:58 +00:00
committed by GitHub
2 changed files with 11 additions and 12 deletions
@@ -7,30 +7,27 @@
dune-configurator,
}:
buildDunePackage rec {
(buildDunePackage.override { inherit stdenv; }) (finalAttrs: {
pname = "eigen";
version = "0.3.3";
version = "0.4.0";
src = fetchFromGitHub {
owner = "owlbarn";
repo = pname;
tag = version;
hash = "sha256-8V4DQ+b2rzy58NTenK1BsJEJiJKYV6hIp2fJWqczHRY=";
repo = "eigen";
tag = finalAttrs.version;
hash = "sha256-bi+7T9qXByVPIy86lBMiJ2LTKCoNesrKZPa3VEDyINA=";
};
minimalOCamlVersion = "4.02";
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-I${lib.getInclude stdenv.cc.libcxx}/include/c++/v1";
propagatedBuildInputs = [ ctypes ];
buildInputs = [ dune-configurator ];
meta = {
inherit (src.meta) homepage;
homepage = "https://github.com/owlbarn/eigen";
description = "Minimal/incomplete Ocaml interface to Eigen3, mostly for Owl";
platforms = lib.platforms.x86_64;
maintainers = with lib.maintainers; [ bcdarwin ];
license = lib.licenses.mit;
broken = stdenv.hostPlatform.isDarwin;
};
}
})
+3 -1
View File
@@ -521,7 +521,9 @@ let
easy-format = callPackage ../development/ocaml-modules/easy-format { };
eigen = callPackage ../development/ocaml-modules/eigen { };
eigen = callPackage ../development/ocaml-modules/eigen {
stdenv = pkgs.gcc14Stdenv;
};
eio = callPackage ../development/ocaml-modules/eio { };
eio_linux = callPackage ../development/ocaml-modules/eio/linux.nix { };