softlayer-python: init at 5.8.4

This commit is contained in:
Florian 2020-01-15 14:28:36 +01:00 committed by Frederik Rietdijk
parent 9006edb2a9
commit 2228e3ad12
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, ptable
, click
, requests
, prompt_toolkit
, pygments
, urllib3
, pytest
, pytestcov
, mock
, sphinx
, testtools
}:
buildPythonPackage rec {
pname = "softlayer-python";
version = "5.8.4";
propagatedBuildInputs = [ ptable click requests prompt_toolkit pygments urllib3 ];
checkInputs = [ pytest pytestcov mock sphinx testtools ptable click requests prompt_toolkit pygments urllib3 ];
checkPhase = ''
pytest
'';
src = fetchFromGitHub {
owner = "softlayer";
repo = pname;
rev = "v${version}";
sha256 = "10kzi7kvvifr21a46q2xqsibs0bx5ys22nfym0bg605ka37vcz88";
};
meta = with lib; {
description = "A set of Python libraries that assist in calling the SoftLayer API.";
homepage = https://github.com/softlayer/softlayer-python;
license = licenses.mit;
};
}

View file

@ -1402,6 +1402,8 @@ in {
usePython = true; usePython = true;
}); });
softlayer = callPackage ../development/python-modules/softlayer { };
sparse = callPackage ../development/python-modules/sparse { }; sparse = callPackage ../development/python-modules/sparse { };
spglib = callPackage ../development/python-modules/spglib { }; spglib = callPackage ../development/python-modules/spglib { };