14 buildPythonPackage rec {
17 format = "setuptools";
19 src = fetchFromGitHub {
21 repo = "openshift-restclient-python";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-uLfewj7M8KNs3oL1AM18sR/WhAR2mvBfqadyhR73FP0=";
27 substituteInPlace requirements.txt \
28 --replace "kubernetes ~= 12.0" "kubernetes"
30 sed -i '/--cov/d' setup.cfg
33 propagatedBuildInputs = [
41 pythonImportsCheck = [ "openshift" ];
54 description = "Python client for the OpenShift API";
55 homepage = "https://github.com/openshift/openshift-restclient-python";
56 license = licenses.asl20;
57 maintainers = with maintainers; [ teto ];