depot/third_party/nixpkgs/pkgs/development/python-modules/stups-cli-support/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

45 lines
847 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
clickclick,
dnspython,
requests,
pytest,
pytest-cov,
isPy3k,
}:
buildPythonPackage rec {
pname = "stups-cli-support";
version = "1.1.20";
format = "setuptools";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "zalando-stups";
repo = "stups-cli-support";
rev = version;
sha256 = "1r6g29gd009p87m8a6wv4rzx7f0564zdv67qz5xys4wsgvc95bx0";
};
propagatedBuildInputs = [
clickclick
dnspython
requests
];
preCheck = "export HOME=$TEMPDIR";
nativeCheckInputs = [
pytest
pytest-cov
];
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 ];
};
}