depot/third_party/nixpkgs/pkgs/development/python-modules/pytedee-async/default.nix

46 lines
883 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pythonOlder
, aiohttp
}:
buildPythonPackage rec {
pname = "pytedee-async";
version = "0.2.10";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "zweckj";
repo = "pytedee_async";
rev = "refs/tags/v${version}";
hash = "sha256-dOoADOSDb4FDJNhPgUpD/GTBj5IR33qKtjJZoiMmk6E=";
};
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 ];
};
}