summary refs log tree commit diff
path: root/pkgs/development/libraries/science/math/QuadProgpp/default.nix
blob: d43331464067b96b161ea60e1d8495b139e566fa (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
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  pname = "QuadProgpp";
  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;
  };
}