diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-12-19 03:29:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-19 03:29:17 +0100 |
commit | 25e3b2c7a9296ea1abd61d5fbba478427c609af7 (patch) | |
tree | a26a70bd2e04c27653bc7ee1155f4bb669d6563f /pkgs/development/libraries | |
parent | 013efb1edc1b83d737cf691f7883913ec685a27a (diff) | |
parent | 50e01f040243dc9c70a248f221dee1e439072ef2 (diff) |
Merge pull request #274197 from wegank/quadprogpp-bump
QuadProgpp: 4b6bd65 -> unstable-2023-01-20, refactor
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/science/math/QuadProgpp/default.nix | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/pkgs/development/libraries/science/math/QuadProgpp/default.nix b/pkgs/development/libraries/science/math/QuadProgpp/default.nix index 703a7f2e3441..f67d68d768a0 100644 --- a/pkgs/development/libraries/science/math/QuadProgpp/default.nix +++ b/pkgs/development/libraries/science/math/QuadProgpp/default.nix @@ -1,26 +1,33 @@ -{ lib, stdenv, fetchFromGitHub, cmake }: +{ lib +, stdenv +, fetchFromGitHub +, cmake +}: -stdenv.mkDerivation rec { - pname = "QuadProgpp"; - version = "4b6bd65f09fbff99c172a86d6e96ca74449b323f"; +stdenv.mkDerivation { + pname = "quadprogpp"; + version = "unstable-2023-01-20"; src = fetchFromGitHub { owner = "liuq"; repo = "QuadProgpp"; - rev = version; - sha256 = "02r0dlk2yjpafknvm945vbgs4sl26w2i1gw3pllar9hi364y8hnx"; + rev = "4c51d91deb5af251957edf9454bfb74279a4544e"; + hash = "sha256-uozwuTAOPsRwYM9KyG3V0hwcmaPpfZPID9Wdd4olsvY="; }; - nativeBuildInputs = [ cmake ]; + nativeBuildInputs = [ + cmake + ]; meta = with lib; { + description = "A C++ library for Quadratic Programming"; + longDescription = '' + QuadProg++ is a C++ library for Quadratic Programming which implements + the Goldfarb-Idnani active-set dual method. + ''; 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; [ ]; + maintainers = with maintainers; [ wegank ]; platforms = platforms.all; }; } |