nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation {
9 pname = "quadprogpp";
10 version = "unstable-2023-01-20";
11
12 src = fetchFromGitHub {
13 owner = "liuq";
14 repo = "QuadProgpp";
15 rev = "4c51d91deb5af251957edf9454bfb74279a4544e";
16 hash = "sha256-uozwuTAOPsRwYM9KyG3V0hwcmaPpfZPID9Wdd4olsvY=";
17 };
18
19 nativeBuildInputs = [
20 cmake
21 ];
22
23 meta = with lib; {
24 description = "C++ library for Quadratic Programming";
25 longDescription = ''
26 QuadProg++ is a C++ library for Quadratic Programming which implements
27 the Goldfarb-Idnani active-set dual method.
28 '';
29 homepage = "https://github.com/liuq/QuadProgpp";
30 license = licenses.mit;
31 maintainers = with maintainers; [ wegank ];
32 platforms = platforms.all;
33 };
34}