Unverified Commit 7b3f9091 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #300099 from fabaff/censys-bump

python312Packages.censys: 2.2.11 -> 2.2.12
parents 4aef3aa1 2119fb6f
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -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";
  };
}