Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 86 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ lib, buildPythonPackage, fetchFromGitHub,
fontconfig,
# nativeBuildInputs cmake, doxygen, graphviz, scipy,
# buildInputs boost,
# propagatedBuildInputs eigen, jrl-cmakemodules, numpy,
}:
buildPythonPackage rec { pname = "eigenpy"; version = "3.11.0"; pyproject = false; # Built with cmake
src = fetchFromGitHub { owner = "stack-of-tasks"; repo = "eigenpy"; tag = "v${version}"; hash = "sha256-BCsEW7eXlCnVILaB+1j0rFDuCkJ6Rs2HJMzTqNsMfzs="; };
outputs = [ "dev" "doc" "out" ];
cmakeFlags = [ "-DINSTALL_DOCUMENTATION=ON" "-DBUILD_TESTING=ON" "-DBUILD_TESTING_SCIPY=ON" ];
strictDeps = true;
# Fontconfig error: No writable cache directories preBuild = "export XDG_CACHE_HOME=$(mktemp -d)";
# Fontconfig error: Cannot load default config file: No such file: (null) env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
nativeBuildInputs = [ cmake doxygen graphviz scipy ];
buildInputs = [ boost ];
propagatedBuildInputs = [ eigen jrl-cmakemodules numpy ];
preInstallCheck = "make test";
pythonImportsCheck = [ "eigenpy" ];
meta = with lib; { 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 = licenses.bsd2; maintainers = with maintainers; [ nim65s wegank ]; platforms = platforms.unix; };}