Merge pull request #119960 from teto/openshift
python3Packages.openshift: init at 0.12.0
This commit is contained in:
commit
6e9671b6cb
39
pkgs/development/python-modules/openshift/default.nix
Normal file
39
pkgs/development/python-modules/openshift/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, jinja2
|
||||||
|
, kubernetes
|
||||||
|
, ruamel-yaml
|
||||||
|
, six
|
||||||
|
, python-string-utils
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "openshift";
|
||||||
|
version = "0.12.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-aggRnD4goiZJPp4cngp8AIrJC/V46378cwUSfq8Xml4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
jinja2
|
||||||
|
kubernetes
|
||||||
|
python-string-utils
|
||||||
|
ruamel-yaml
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
# tries to connect to the network
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = ["openshift"];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python client for the OpenShift API";
|
||||||
|
homepage = "https://github.com/openshift/openshift-restclient-python";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ teto ];
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,27 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "python-string-utils";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-3PkGCwPwdkfApgNAjciwP4B/O1SgXG4Z6xRGAlb6wMs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
pythonImportsCheck = ["string_utils"];
|
||||||
|
|
||||||
|
# tests are not available in pypi tarball
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A handy Python library to validate, manipulate and generate strings.";
|
||||||
|
homepage = "https://github.com/daveoncode/python-string-utils";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ teto ];
|
||||||
|
};
|
||||||
|
}
|
@ -4624,6 +4624,8 @@ in {
|
|||||||
|
|
||||||
opensensemap-api = callPackage ../development/python-modules/opensensemap-api { };
|
opensensemap-api = callPackage ../development/python-modules/opensensemap-api { };
|
||||||
|
|
||||||
|
openshift = callPackage ../development/python-modules/openshift { };
|
||||||
|
|
||||||
opentimestamps = callPackage ../development/python-modules/opentimestamps { };
|
opentimestamps = callPackage ../development/python-modules/opentimestamps { };
|
||||||
|
|
||||||
opentracing = callPackage ../development/python-modules/opentracing { };
|
opentracing = callPackage ../development/python-modules/opentracing { };
|
||||||
@ -6359,6 +6361,8 @@ in {
|
|||||||
|
|
||||||
pytest-shutil = callPackage ../development/python-modules/pytest-shutil { };
|
pytest-shutil = callPackage ../development/python-modules/pytest-shutil { };
|
||||||
|
|
||||||
|
python-string-utils = callPackage ../development/python-modules/python-string-utils { };
|
||||||
|
|
||||||
pytest-socket = callPackage ../development/python-modules/pytest-socket { };
|
pytest-socket = callPackage ../development/python-modules/pytest-socket { };
|
||||||
|
|
||||||
pytest-subtesthack = callPackage ../development/python-modules/pytest-subtesthack { };
|
pytest-subtesthack = callPackage ../development/python-modules/pytest-subtesthack { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user