depot/third_party/nixpkgs/pkgs/development/python-modules/aioaladdinconnect/default.nix
Default email 7d542a9f98 Project import generated by Copybara.
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
2022-12-02 08:20:57 +00:00

39 lines
854 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioaladdinconnect";
version = "0.1.48";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "AIOAladdinConnect";
inherit version;
hash = "sha256-FrefWV42+DqvuAVScavwqtCfiCRXacuCruqGP0Gks6Y=";
};
propagatedBuildInputs = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"AIOAladdinConnect"
];
meta = with lib; {
description = "Library for controlling Genie garage doors connected to Aladdin Connect devices";
homepage = "https://github.com/mkmer/AIOAladdinConnect";
changelog = "https://github.com/mkmer/AIOAladdinConnect/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}