159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
38 lines
835 B
Nix
38 lines
835 B
Nix
{
|
|
boost,
|
|
cmake,
|
|
eigen,
|
|
fetchFromGitHub,
|
|
jrl-cmakemodules,
|
|
lib,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "eiquadprog";
|
|
version = "1.2.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stack-of-tasks";
|
|
repo = "eiquadprog";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-VqRx06sCCZrnB+NWm6Z9OMKzjKQIydGgKQU6fMY7phk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
jrl-cmakemodules
|
|
];
|
|
propagatedBuildInputs = [ eigen ];
|
|
checkInputs = [ boost ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "C++ reimplementation of eiquadprog";
|
|
homepage = "https://github.com/stack-of-tasks/eiquadprog";
|
|
changelog = "https://github.com/stack-of-tasks/eiquadprog/blob/v${finalAttrs.version}/CHANGELOG.md";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ nim65s ];
|
|
};
|
|
})
|