Merge pull request #140122 from fabaff/aionanoleaf
python3Packages.aionanoleaf: init at 0.0.2
This commit is contained in:
commit
1a71640a57
37
pkgs/development/python-modules/aionanoleaf/default.nix
Normal file
37
pkgs/development/python-modules/aionanoleaf/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aionanoleaf";
|
||||
version = "0.0.2";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "milanmeu";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1fmzmbsmfsa1ixxcz8vckg8qmsip8y7gih1j23jrlfbjm9s5jf5p";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aionanoleaf" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper for the Nanoleaf API";
|
||||
homepage = "https://github.com/milanmeu/aionanoleaf";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -341,6 +341,8 @@ in {
|
||||
|
||||
aiomysql = callPackage ../development/python-modules/aiomysql { };
|
||||
|
||||
aionanoleaf = callPackage ../development/python-modules/aionanoleaf { };
|
||||
|
||||
aionotify = callPackage ../development/python-modules/aionotify { };
|
||||
|
||||
aionotion = callPackage ../development/python-modules/aionotion { };
|
||||
|
Loading…
Reference in New Issue
Block a user