nixpkgs/pkgs/development/python-modules/aiostream/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

31 lines
689 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, pytest-cov
, pytest-asyncio
}:
buildPythonPackage rec {
pname = "aiostream";
version = "0.4.5";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "vxgmichel";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-WOtscg02Dq5YNSAfq4pIyH3oUP/5G+cjBwKB6c+SUVA=";
};
nativeCheckInputs = [ pytestCheckHook pytest-cov pytest-asyncio ];
meta = with lib; {
description = "Generator-based operators for asynchronous iteration";
homepage = "https://aiostream.readthedocs.io";
license = licenses.gpl3Only;
maintainers = [ maintainers.rmcgibbo ];
};
}