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