3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/science/math/osqp/default.nix

28 lines
597 B
Nix
Raw Normal View History

2020-07-23 14:08:15 +01:00
{ stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "osqp";
version = "0.6.0";
src = fetchFromGitHub {
owner = "oxfordcontrol";
repo = "osqp";
rev = "v${version}";
sha256 = "1gwk1bqsk0rd85zf7xplbwq822y5pnxjmqc14jj6knqbab9afvrs";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "A quadratic programming solver using operator splitting";
homepage = "https://osqp.org";
license = licenses.asl20;
maintainers = with maintainers; [ taktoa ];
platforms = platforms.all;
};
}