eigenpy: 3.4.0 -> 3.5.0

This commit is contained in:
Guilhem Saurel 2024-04-14 14:08:33 +02:00 committed by Weijia Wang
parent 48e5f7743f
commit bacc51efb4

View File

@ -1,26 +1,32 @@
{ lib {
, stdenv lib,
, fetchFromGitHub stdenv,
, cmake fetchFromGitHub,
, doxygen cmake,
, boost doxygen,
, eigen boost,
, numpy eigen,
, scipy jrl-cmakemodules,
numpy,
scipy,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "eigenpy"; pname = "eigenpy";
version = "3.4.0"; version = "3.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stack-of-tasks"; owner = "stack-of-tasks";
repo = finalAttrs.pname; repo = "eigenpy";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-/k5eltoeUW05FTjvStAOw+tguWLUaUced8TArrk4UDI="; hash = "sha256-/k5eltoeUW05FTjvStAOw+tguWLUaUced8TArrk4UDI=";
}; };
outputs = [
"dev"
"out"
];
cmakeFlags = [ cmakeFlags = [
"-DINSTALL_DOCUMENTATION=ON" "-DINSTALL_DOCUMENTATION=ON"
"-DBUILD_TESTING_SCIPY=ON" "-DBUILD_TESTING_SCIPY=ON"
@ -34,26 +40,26 @@ stdenv.mkDerivation (finalAttrs: {
scipy scipy
]; ];
buildInputs = [ buildInputs = [ boost ];
boost
];
propagatedBuildInputs = [ propagatedBuildInputs = [
eigen eigen
jrl-cmakemodules
numpy numpy
]; ];
doCheck = true; doCheck = true;
pythonImportsCheck = [ pythonImportsCheck = [ "eigenpy" ];
"eigenpy"
];
meta = with lib; { meta = with lib; {
description = "Bindings between Numpy and Eigen using Boost.Python"; description = "Bindings between Numpy and Eigen using Boost.Python";
homepage = "https://github.com/stack-of-tasks/eigenpy"; homepage = "https://github.com/stack-of-tasks/eigenpy";
changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/v${version}"; changelog = "https://github.com/stack-of-tasks/eigenpy/releases/tag/v${version}";
license = licenses.bsd2; license = licenses.bsd2;
maintainers = with maintainers; [ nim65s wegank ]; maintainers = with maintainers; [
nim65s
wegank
];
platforms = platforms.unix; platforms = platforms.unix;
}; };
}) })