blob: 70242a2aa9a045175c6406b7dc77410c504316b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
boost,
cmake,
doxygen,
eigen,
fetchFromGitHub,
jrl-cmakemodules,
lib,
pkg-config,
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=";
};
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;
};
})
|