1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 setuptools, 6 clickclick, 7 dnspython, 8 requests, 9 pytestCheckHook, 10 isPy3k, 11}: 12 13buildPythonPackage rec { 14 pname = "stups-cli-support"; 15 version = "1.1.22"; 16 pyproject = true; 17 disabled = !isPy3k; 18 19 src = fetchFromGitHub { 20 owner = "zalando-stups"; 21 repo = "stups-cli-support"; 22 rev = version; 23 sha256 = "sha256-/UsQzV1Ljd+K8AIj55UmiVXAshX+rUbYxFeSK7YGgn8="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 clickclick 30 dnspython 31 requests 32 ]; 33 34 preCheck = "export HOME=$TEMPDIR"; 35 36 nativeCheckInputs = [ pytestCheckHook ]; 37 38 meta = with lib; { 39 description = "Helper library for all STUPS command line tools"; 40 homepage = "https://github.com/zalando-stups/stups-cli-support"; 41 license = licenses.asl20; 42 maintainers = [ maintainers.mschuwalow ]; 43 }; 44}