Loading pkgs/development/python-modules/aiohomekit/default.nix +4 −2 Original line number Diff line number Diff line { lib , buildPythonPackage , aiocoap , async-interrupt , bleak , bleak-retry-connector , chacha20poly1305 Loading @@ -18,7 +19,7 @@ buildPythonPackage rec { pname = "aiohomekit"; version = "2.6.10"; version = "2.6.11"; format = "pyproject"; disabled = pythonOlder "3.9"; Loading @@ -27,7 +28,7 @@ buildPythonPackage rec { owner = "Jc2k"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-2+PqXIKjEJWfTUAJYctWojwoWl7QOfxbbH6c7ZlTNRI="; hash = "sha256-oTH/YM21l9N03F9zFTOAvxgdG6SyL6qXeeA28jLAOq8="; }; nativeBuildInputs = [ Loading @@ -36,6 +37,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ aiocoap async-interrupt bleak bleak-retry-connector chacha20poly1305 Loading pkgs/development/python-modules/async-interrupt/default.nix 0 → 100644 +49 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , poetry-core , pytest-asyncio , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "async-interrupt"; version = "1.1.1"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "bdraco"; repo = "async_interrupt"; rev = "refs/tags/v${version}"; hash = "sha256-mbvOj1ybCkDNr3je3PtFwmddkh2k/nHOerpC6hGSUYI="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=async_interrupt --cov-report=term-missing:skip-covered" "" ''; nativeBuildInputs = [ poetry-core ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "async_interrupt" ]; meta = with lib; { description = "Context manager to raise an exception when a future is done"; homepage = "https://github.com/bdraco/async_interrupt"; changelog = "https://github.com/bdraco/async_interrupt/blob/${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -736,6 +736,8 @@ self: super: with self; { async-dns = callPackage ../development/python-modules/async-dns { }; async-interrupt = callPackage ../development/python-modules/async-interrupt { }; async-lru = callPackage ../development/python-modules/async-lru { }; async-modbus = callPackage ../development/python-modules/async-modbus { }; Loading Loading
pkgs/development/python-modules/aiohomekit/default.nix +4 −2 Original line number Diff line number Diff line { lib , buildPythonPackage , aiocoap , async-interrupt , bleak , bleak-retry-connector , chacha20poly1305 Loading @@ -18,7 +19,7 @@ buildPythonPackage rec { pname = "aiohomekit"; version = "2.6.10"; version = "2.6.11"; format = "pyproject"; disabled = pythonOlder "3.9"; Loading @@ -27,7 +28,7 @@ buildPythonPackage rec { owner = "Jc2k"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-2+PqXIKjEJWfTUAJYctWojwoWl7QOfxbbH6c7ZlTNRI="; hash = "sha256-oTH/YM21l9N03F9zFTOAvxgdG6SyL6qXeeA28jLAOq8="; }; nativeBuildInputs = [ Loading @@ -36,6 +37,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ aiocoap async-interrupt bleak bleak-retry-connector chacha20poly1305 Loading
pkgs/development/python-modules/async-interrupt/default.nix 0 → 100644 +49 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , poetry-core , pytest-asyncio , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "async-interrupt"; version = "1.1.1"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "bdraco"; repo = "async_interrupt"; rev = "refs/tags/v${version}"; hash = "sha256-mbvOj1ybCkDNr3je3PtFwmddkh2k/nHOerpC6hGSUYI="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=async_interrupt --cov-report=term-missing:skip-covered" "" ''; nativeBuildInputs = [ poetry-core ]; nativeCheckInputs = [ pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "async_interrupt" ]; meta = with lib; { description = "Context manager to raise an exception when a future is done"; homepage = "https://github.com/bdraco/async_interrupt"; changelog = "https://github.com/bdraco/async_interrupt/blob/${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -736,6 +736,8 @@ self: super: with self; { async-dns = callPackage ../development/python-modules/async-dns { }; async-interrupt = callPackage ../development/python-modules/async-interrupt { }; async-lru = callPackage ../development/python-modules/async-lru { }; async-modbus = callPackage ../development/python-modules/async-modbus { }; Loading