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
37 lines
815 B
Nix
37 lines
815 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
ctypes,
|
|
dune-configurator,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "eigen";
|
|
version = "0.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "owlbarn";
|
|
repo = pname;
|
|
tag = version;
|
|
hash = "sha256-8V4DQ+b2rzy58NTenK1BsJEJiJKYV6hIp2fJWqczHRY=";
|
|
};
|
|
|
|
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;
|
|
description = "Minimal/incomplete Ocaml interface to Eigen3, mostly for Owl";
|
|
platforms = lib.platforms.x86_64;
|
|
maintainers = with lib.maintainers; [ bcdarwin ];
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|