Unverified Commit 14bbc48c authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #281762 from fabaff/sfrbox-api-bump

python311Packages.sfrbox-api: 0.0.8 -> 0.0.9 
parents 5b49a117 9ae1e565
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
@@ -14,16 +14,16 @@

buildPythonPackage rec {
  pname = "sfrbox-api";
  version = "0.0.8";
  format = "pyproject";
  version = "0.0.9";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "hacf-fr";
    repo = pname;
    repo = "sfrbox-api";
    rev = "refs/tags/v${version}";
    hash = "sha256-yvVoWBupHRbMoXmun/pj0bPpujWKfH1SknEhvgIsPzk=";
    hash = "sha256-rMfX9vA8IuWxXvVs4WYNHO6neeoie/3gABwhXyJoAF8=";
  };

  postPatch = ''
@@ -36,17 +36,22 @@ buildPythonPackage rec {
  ];

  propagatedBuildInputs = [
    click
    defusedxml
    httpx
    pydantic
  ];

  passthru.optional-dependencies = {
    cli = [
      click
    ];
  };

  nativeCheckInputs = [
    pytest-asyncio
    pytestCheckHook
    respx
  ];
  ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);

  pythonImportsCheck = [
    "sfrbox_api"