a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
45 lines
843 B
Nix
45 lines
843 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, boost
|
|
, eigen
|
|
, numpy
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "eigenpy";
|
|
version = "2.9.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stack-of-tasks";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
fetchSubmodules = true;
|
|
hash = "sha256-h088il9gih1rJJKOI09qq2180DxbxCAVZcgBXWh8aVk=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/v${version}";
|
|
license = licenses.bsd2;
|
|
maintainers = with maintainers; [ wegank ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|