Merge pull request #303339 from nim65s/jrl-cmakemodules
jrl-cmakemodules: init at 0-unstable-2024-04-12
This commit is contained in:
commit
5712b1f0a3
2 changed files with 52 additions and 19 deletions
27
pkgs/by-name/jr/jrl-cmakemodules/package.nix
Normal file
27
pkgs/by-name/jr/jrl-cmakemodules/package.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "jrl-cmakemodules";
|
||||
version = "0-unstable-2024-04-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jrl-umi3218";
|
||||
repo = "jrl-cmakemodules";
|
||||
rev = "a914fa836ab4d2f01c191c93a763cfa322820dc7";
|
||||
hash = "sha256-/VedtcRqy4SUTZfrtg01Z1lSPFRg/858hgve+nKTqPo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = {
|
||||
description = "CMake utility toolbox";
|
||||
homepage = "https://github.com/jrl-umi3218/jrl-cmakemodules";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
maintainers = [ lib.maintainers.nim65s ];
|
||||
};
|
||||
}
|
|
@ -1,26 +1,32 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, doxygen
|
||||
, boost
|
||||
, eigen
|
||||
, numpy
|
||||
, scipy
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
doxygen,
|
||||
boost,
|
||||
eigen,
|
||||
jrl-cmakemodules,
|
||||
numpy,
|
||||
scipy,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "eigenpy";
|
||||
version = "3.4.0";
|
||||
version = "3.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stack-of-tasks";
|
||||
repo = finalAttrs.pname;
|
||||
repo = "eigenpy";
|
||||
rev = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-/k5eltoeUW05FTjvStAOw+tguWLUaUced8TArrk4UDI=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"dev"
|
||||
"out"
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DINSTALL_DOCUMENTATION=ON"
|
||||
"-DBUILD_TESTING_SCIPY=ON"
|
||||
|
@ -34,26 +40,26 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
scipy
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
];
|
||||
buildInputs = [ boost ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
eigen
|
||||
jrl-cmakemodules
|
||||
numpy
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
pythonImportsCheck = [
|
||||
"eigenpy"
|
||||
];
|
||||
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/v${version}";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ nim65s wegank ];
|
||||
maintainers = with maintainers; [
|
||||
nim65s
|
||||
wegank
|
||||
];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue