a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
44 lines
759 B
Nix
44 lines
759 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, boost
|
|
, eigen
|
|
, numpy
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "eigenpy";
|
|
version = "2.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stack-of-tasks";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
fetchSubmodules = true;
|
|
sha256 = "sha256-nofB5TDvEArhPcYe/Pb1LQBC+W6MrE3NuapaZmKIO68=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
boost
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
eigen
|
|
numpy
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Bindings between Numpy and Eigen using Boost.Python";
|
|
homepage = "https://github.com/stack-of-tasks/eigenpy";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ wegank ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|