python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / aiorwlock / default.nix
blob8fbdebeb983868f0f6868b87731917a21e3b3731
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytest-asyncio,
6   pytestCheckHook,
7   poetry-core,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "aiorwlock";
13   version = "1.5.0";
14   pyproject = true;
16   disabled = pythonOlder "3.9";
18   src = fetchFromGitHub {
19     owner = "aio-libs";
20     repo = "aiorwlock";
21     tag = "v${version}";
22     hash = "sha256-QwjwuXjaxE1Y+Jzn8hJXY4wKltAT8mdOM7jJ9MF+DhA=";
23   };
25   build-system = [ poetry-core ];
27   nativeCheckInputs = [
28     pytest-asyncio
29     pytestCheckHook
30   ];
32   pythonImportsCheck = [ "aiorwlock" ];
34   meta = with lib; {
35     description = "Read write lock for asyncio";
36     homepage = "https://github.com/aio-libs/aiorwlock";
37     changelog = "https://github.com/aio-libs/aiorwlock/releases/tag/v${version}";
38     license = licenses.asl20;
39     maintainers = with maintainers; [ billhuang ];
40   };