159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
44 lines
863 B
Nix
44 lines
863 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
setuptools,
|
|
clickclick,
|
|
dnspython,
|
|
requests,
|
|
pytestCheckHook,
|
|
isPy3k,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "stups-cli-support";
|
|
version = "1.1.20";
|
|
pyproject = true;
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zalando-stups";
|
|
repo = "stups-cli-support";
|
|
rev = version;
|
|
sha256 = "1r6g29gd009p87m8a6wv4rzx7f0564zdv67qz5xys4wsgvc95bx0";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
clickclick
|
|
dnspython
|
|
requests
|
|
];
|
|
|
|
preCheck = "export HOME=$TEMPDIR";
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
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 ];
|
|
};
|
|
}
|