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