depot/third_party/nixpkgs/pkgs/development/python-modules/eigenpy/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

45 lines
843 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, boost
, eigen
, numpy
}:
stdenv.mkDerivation rec {
pname = "eigenpy";
version = "3.0.0";
src = fetchFromGitHub {
owner = "stack-of-tasks";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-xaeMsn3G4x5DS6gXc6mbZvi96K1Yu8CuzjcGnYJYrvs=";
};
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;
};
}