Fabian Affolter
2024-06-09 10:19:30 +02:00
parent e26ad74eee
commit 2c23eae85d
@@ -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