Merge pull request #300099 from fabaff/censys-bump

python312Packages.censys: 2.2.11 -> 2.2.12
This commit is contained in:
Fabian Affolter 2024-03-30 08:49:20 +01:00 committed by GitHub
commit 7b3f909170
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "censys";
version = "2.2.11";
version = "2.2.12";
pyproject = true;
disabled = pythonOlder "3.7";
@ -27,15 +27,20 @@ buildPythonPackage rec {
owner = "censys";
repo = "censys-python";
rev = "refs/tags/v${version}";
hash = "sha256-/aB8rsyymNTXJLsf/IkA6o7M/mzyao10cl7kbxHEzGc=";
hash = "sha256-Gw3JbAdg/ObWdD6vl8Wuct6VCcP4GAZbiesXSSnW1Mg=";
};
nativeBuildInputs = [
postPatch = ''
substituteInPlace pytest.ini \
--replace-fail "--cov" ""
'';
build-system = [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = [
dependencies = [
argcomplete
backoff
requests
@ -57,11 +62,6 @@ buildPythonPackage rec {
"rich"
];
postPatch = ''
substituteInPlace pytest.ini \
--replace "--cov" ""
'';
# The tests want to write a configuration file
preCheck = ''
export HOME=$(mktemp -d)
@ -74,10 +74,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python API wrapper for the Censys Search Engine (censys.io)";
mainProgram = "censys";
homepage = "https://github.com/censys/censys-python";
changelog = "https://github.com/censys/censys-python/releases/tag/v${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
mainProgram = "censys";
};
}