3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/aioaladdinconnect/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
854 B
Nix
Raw Normal View History

{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioaladdinconnect";
version = "0.1.54";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "AIOAladdinConnect";
inherit version;
hash = "sha256-WRHQYWoQQ8EoKOqhIS0PqIWisO4xjUvRJHpomD8f5wA=";
};
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 ];
};
}