diff options
author | Léo Colisson <leo.colisson@ens-paris-saclay.fr> | 2019-07-09 16:51:43 +0200 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-09-21 21:13:17 -0400 |
commit | 522f0c9cb59074e1c2e9369f49f02def0767b6f7 (patch) | |
tree | e00ee2d5b55662320be70d4488f5175aedab6020 /pkgs/development/python-modules/picos | |
parent | 60a897d4c7f1d38ee2cf1cab00ad01de6ad9c0e9 (diff) | |
download | nixlib-522f0c9cb59074e1c2e9369f49f02def0767b6f7.tar nixlib-522f0c9cb59074e1c2e9369f49f02def0767b6f7.tar.gz nixlib-522f0c9cb59074e1c2e9369f49f02def0767b6f7.tar.bz2 nixlib-522f0c9cb59074e1c2e9369f49f02def0767b6f7.tar.lz nixlib-522f0c9cb59074e1c2e9369f49f02def0767b6f7.tar.xz nixlib-522f0c9cb59074e1c2e9369f49f02def0767b6f7.tar.zst nixlib-522f0c9cb59074e1c2e9369f49f02def0767b6f7.zip |
pythonPackages.picos: init at 1.2.0
Diffstat (limited to 'pkgs/development/python-modules/picos')
-rw-r--r-- | pkgs/development/python-modules/picos/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/picos/default.nix b/pkgs/development/python-modules/picos/default.nix new file mode 100644 index 000000000000..57fbe099071d --- /dev/null +++ b/pkgs/development/python-modules/picos/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchFromGitLab +, numpy +, cvxopt +, python +}: + +buildPythonPackage rec { + pname = "picos"; + version = "1.2.0"; + + src = fetchFromGitLab { + owner = "picos-api"; + repo = "picos"; + rev = "v${version}"; + sha256 = "018xhc7cb2crkk27lhl63c7h77w5wa37fg41i7nqr4xclr43cs9z"; + }; + + propagatedBuildInputs = [ + numpy + cvxopt + ]; + + checkPhase = '' + ${python.interpreter} test.py + ''; + + meta = with lib; { + description = "A Python interface to conic optimization solvers"; + homepage = https://gitlab.com/picos-api/picos; + license = licenses.gpl3; + maintainers = with maintainers; [ tobiasBora ]; + }; +} + |