git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.cvxpy: explicit numpy/scipy

Make numpy/scipy dependencies explicit, based on conda install instructions for cvxpy. Slight formatting fix.

commit53b803ed95b6d24fb71f73122cdf5a66676e994b authorDrew Risinger <drewrisinger@users.noreply.github.com> dateThu 2 Apr 2020, 11:42 (7 years ago) parent4985935
1 file changed+5−3
pkgs/development/python-modules/cvxpy/default.nix+5−3
pkgs/development/python-modules/cvxpy/default.nix+5−3
@@ -29,7 +29,9 @@ buildPythonPackage rec {
2929 cvxopt
3030 ecos
3131 multiprocess
32+ numpy
3233 osqp
34+ scipy
3335 scs
3436 six
3537 ];
@@ -39,11 +41,11 @@ buildPythonPackage rec {
3941 nosetests
4042 '';
4143
42− meta = {
44+ meta = with lib; {
4345 description = "A domain-specific language for modeling convex optimization problems in Python.";
4446 homepage = "https://www.cvxpy.org/";
4547 downloadPage = "https://github.com/cvxgrp/cvxpy/";
46− license = lib.licenses.asl20;
47− maintainers = with lib.maintainers; [ drewrisinger ];
48+ license = licenses.asl20;
49+ maintainers = with maintainers; [ drewrisinger ];
4850 };
4951}