diff --git a/pkgs/development/python-modules/aiostream/default.nix b/pkgs/development/python-modules/aiostream/default.nix index b787f69c1b74..98b2d3902fa4 100644 --- a/pkgs/development/python-modules/aiostream/default.nix +++ b/pkgs/development/python-modules/aiostream/default.nix @@ -5,29 +5,32 @@ pytest-asyncio, pytestCheckHook, pythonOlder, + setuptools, typing-extensions, }: buildPythonPackage rec { pname = "aiostream"; - version = "0.5.2"; - format = "setuptools"; + version = "0.6.1"; + pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "vxgmichel"; - repo = pname; + repo = "aiostream"; rev = "refs/tags/v${version}"; - hash = "sha256-g2W2TtCh2ANPjeTdASVgEu+qKfz/Ugh1rDWJcFvOJpI="; + hash = "sha256-RJ+0o8w92GteMRPOIddCBQ4JApi5gXiwkJRNe9t2E7g="; }; postPatch = '' - substituteInPlace setup.cfg \ - --replace " --cov aiostream --cov-report html --cov-report term" "" + substituteInPlace pyproject.toml \ + --replace-fail " --cov aiostream" "" ''; - propagatedBuildInputs = [ typing-extensions ]; + build-system = [ setuptools ]; + + dependencies = [ typing-extensions ]; nativeCheckInputs = [ pytest-asyncio