diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-19 11:45:03 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-19 11:45:03 +0100 |
commit | 7ecc6a8b25aa80eac1a7d3f87d77211c35e875df (patch) | |
tree | b7c162b1af8cb0153377d7ffba5147e554274e63 /pkgs/development/python-modules/goveelights | |
parent | cf66057e81c0327efd905d5f6316124b56eee515 (diff) | |
download | nixpkgs-7ecc6a8b25aa80eac1a7d3f87d77211c35e875df.tar nixpkgs-7ecc6a8b25aa80eac1a7d3f87d77211c35e875df.tar.gz nixpkgs-7ecc6a8b25aa80eac1a7d3f87d77211c35e875df.tar.bz2 nixpkgs-7ecc6a8b25aa80eac1a7d3f87d77211c35e875df.tar.lz nixpkgs-7ecc6a8b25aa80eac1a7d3f87d77211c35e875df.tar.xz nixpkgs-7ecc6a8b25aa80eac1a7d3f87d77211c35e875df.tar.zst nixpkgs-7ecc6a8b25aa80eac1a7d3f87d77211c35e875df.zip |
python3Packages.goveelights: init at 0.1.0
Diffstat (limited to 'pkgs/development/python-modules/goveelights')
-rw-r--r-- | pkgs/development/python-modules/goveelights/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/goveelights/default.nix b/pkgs/development/python-modules/goveelights/default.nix new file mode 100644 index 00000000000..d4f955c18c6 --- /dev/null +++ b/pkgs/development/python-modules/goveelights/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, requests +}: + +buildPythonPackage rec { + pname = "goveelights"; + version = "0.1.0"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-4j4iBT4PIpk6BbHwJF7+sp/PeIlHw+8dsOK1Ecfuwtc="; + }; + + propagatedBuildInputs = [ + requests + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "goveelights" + ]; + + meta = with lib; { + description = "Python module for interacting with the Govee API"; + homepage = "https://github.com/arcanearronax/govee_lights"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} |