nixpkgs/pkgs/development/libraries/science/math/QuadProgpp/default.nix
Mateusz Kowalczyk b41f8936b9 QuadProgpp: Add new package.
Necessary for #48895.
2018-10-24 09:19:26 +09:00

28 lines
719 B
Nix

{ 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;
};
}