diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pytedee-async/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pytedee-async/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pytedee-async/default.nix b/nixpkgs/pkgs/development/python-modules/pytedee-async/default.nix new file mode 100644 index 000000000000..96bb9bca21d8 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/pytedee-async/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, setuptools +, pythonOlder +, aiohttp +}: + +buildPythonPackage rec { + pname = "pytedee-async"; + version = "0.2.11"; + pyproject = true; + + disabled = pythonOlder "3.9"; + + src = fetchFromGitHub { + owner = "zweckj"; + repo = "pytedee_async"; + rev = "refs/tags/v${version}"; + hash = "sha256-mBTY2JU79Hk6P+oWQ+2FD0BYHL1c865EvnTUl6H+gnk="; + }; + + nativeBuildInputs = [ + setuptools + ]; + + propagatedBuildInputs = [ + aiohttp + ]; + + pythonImportsCheck = [ + "pytedee_async" + ]; + + # Module has no tests + doCheck = false; + + meta = with lib; { + description = "Module to interact with Tedee locks"; + homepage = "https://github.com/zweckj/pytedee_async"; + changelog = "https://github.com/zweckj/pytedee_async/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} |