python3Packages.pywizlight: init at 0.4.1
This commit is contained in:
committed by
Jonathan Ringer
parent
b7b0a1fe77
commit
441c85b26c
34
pkgs/development/python-modules/pywizlight/default.nix
Normal file
34
pkgs/development/python-modules/pywizlight/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, asyncio-dgram
|
||||
, click
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pywizlight";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sbidy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0kyhyda28zbni9sjv6kvky6wlhqldl47niddgpbjsv5dlb9xvxns";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
asyncio-dgram
|
||||
click
|
||||
];
|
||||
|
||||
# no tests are present
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pywizlight" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python connector for WiZ light bulbs";
|
||||
homepage = "https://github.com/sbidy/pywizlight";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user