15 buildPythonPackage rec {
20 disabled = pythonOlder "3.8";
22 src = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 hash = "sha256-rMfX9vA8IuWxXvVs4WYNHO6neeoie/3gABwhXyJoAF8=";
30 substituteInPlace pyproject.toml \
31 --replace 'pydantic = ">=1.10.2"' 'pydantic = "*"'
38 propagatedBuildInputs = [
44 passthru.optional-dependencies = {
54 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
56 pythonImportsCheck = [
61 description = "Module for the SFR Box API";
62 mainProgram = "sfrbox-api";
63 homepage = "https://github.com/hacf-fr/sfrbox-api";
64 changelog = "https://github.com/hacf-fr/sfrbox-api/releases/tag/v${version}";
65 license = licenses.mit;
66 maintainers = with maintainers; [ fab ];