Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
963 B
Nix
49 lines
963 B
Nix
{
|
|
boost,
|
|
cmake,
|
|
doxygen,
|
|
eigen,
|
|
fetchFromGitHub,
|
|
jrl-cmakemodules,
|
|
lib,
|
|
pkg-config,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "eiquadprog";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stack-of-tasks";
|
|
repo = "eiquadprog";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-8CwyTREHzTtgXTnzAIcRAlKm3fBEUEeMxNwzzEMADqk=";
|
|
};
|
|
|
|
outputs = [
|
|
"out"
|
|
"doc"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
doxygen
|
|
pkg-config
|
|
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 ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|