QuadProgpp: Add new package.

Necessary for #48895.
This commit is contained in:
Mateusz Kowalczyk 2018-10-24 09:19:26 +09:00
parent 3c4c4ff051
commit b41f8936b9

View File

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "QuadProgpp-${version}";
version = "4b6bd65f09fbff99c172a86d6e96ca74449b323f";
src = fetchFromGitHub {
owner = "liuq";
repo = "QuadProgpp";
rev = version;
sha256 = "02r0dlk2yjpafknvm945vbgs4sl26w2i1gw3pllar9hi364y8hnx";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ ];
meta = with stdenv.lib; {
homepage = https://github.com/liuq/QuadProgpp;
license = licenses.mit;
description = ''
A C++ library for Quadratic Programming which implements the
Goldfarb-Idnani active-set dual method.
'';
maintainers = with maintainers; [ fuuzetsu ];
platforms = with platforms; linux;
};
}