2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, clickclick
|
|
|
|
, dnspython
|
|
|
|
, requests
|
|
|
|
, pytest
|
2021-07-24 12:14:16 +00:00
|
|
|
, pytest-cov
|
2020-04-24 23:36:52 +00:00
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "stups-cli-support";
|
|
|
|
version = "1.1.20";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zalando-stups";
|
|
|
|
repo = "stups-cli-support";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1r6g29gd009p87m8a6wv4rzx7f0564zdv67qz5xys4wsgvc95bx0";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
clickclick
|
|
|
|
dnspython
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
preCheck = "export HOME=$TEMPDIR";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
pytest
|
2021-07-24 12:14:16 +00:00
|
|
|
pytest-cov
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Helper library for all STUPS command line tools.";
|
|
|
|
homepage = "https://github.com/zalando-stups/stups-cli-support";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.mschuwalow ];
|
|
|
|
};
|
|
|
|
}
|