Something went wrong. Try again.
lol
Something went wrong. Try again.
1.6 kB · 88 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889{ lib,
buildPythonPackage, fetchFromGitHub, writableTmpDirAsHomeHook, fontconfig,
# nativeBuildInputs cmake, doxygen, graphviz, pkg-config, scipy,
# buildInputs boost,
# propagatedBuildInputs eigen, jrl-cmakemodules, numpy,}:
buildPythonPackage rec { pname = "eigenpy"; version = "3.12.0"; pyproject = false; # Built with cmake
src = fetchFromGitHub { owner = "stack-of-tasks"; repo = "eigenpy"; tag = "v${version}"; hash = "sha256-U4uL0knGJFpD14Gc32lgTZlw7QlXHMEqTnp0bmHJRU8="; };
outputs = [ "dev" "doc" "out" ];
cmakeFlags = [ "-DINSTALL_DOCUMENTATION=ON" "-DBUILD_TESTING=ON" "-DBUILD_TESTING_SCIPY=ON" ];
strictDeps = true;
# Fontconfig error: Cannot load default config file: No such file: (null) env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
nativeBuildInputs = [ cmake doxygen graphviz pkg-config scipy writableTmpDirAsHomeHook ];
buildInputs = [ boost ];
propagatedBuildInputs = [ eigen jrl-cmakemodules numpy ];
preInstallCheck = '' make test '';
pythonImportsCheck = [ "eigenpy" ];
meta = { description = "Bindings between Numpy and Eigen using Boost.Python"; homepage = "https://github.com/stack-of-tasks/eigenpy"; changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/${src.tag}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ nim65s wegank ]; platforms = lib.platforms.unix; };}