mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
pythonPackages.picos: init at 1.2.0
This commit is contained in:
parent
60a897d4c7
commit
522f0c9cb5
36
pkgs/development/python-modules/picos/default.nix
Normal file
36
pkgs/development/python-modules/picos/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
@ -4201,6 +4201,8 @@ in {
|
||||
|
||||
pickleshare = callPackage ../development/python-modules/pickleshare { };
|
||||
|
||||
picos = callPackage ../development/python-modules/picos { };
|
||||
|
||||
piep = callPackage ../development/python-modules/piep { };
|
||||
|
||||
piexif = callPackage ../development/python-modules/piexif { };
|
||||
|
Loading…
Reference in New Issue
Block a user