diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2021-02-27 17:52:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-27 17:52:00 +0100 |
commit | e980bfd90e5c7e678c16c9a2955434ee5a09a294 (patch) | |
tree | 3782ac92e8e026fe555902f29db26caea2976dd8 /pkgs/development | |
parent | ea4a67a40f30e9402f3473e510ee43f1879990ff (diff) | |
parent | 40fac3bc18b42c89b9036478de56886692597636 (diff) | |
download | nixpkgs-e980bfd90e5c7e678c16c9a2955434ee5a09a294.tar nixpkgs-e980bfd90e5c7e678c16c9a2955434ee5a09a294.tar.gz nixpkgs-e980bfd90e5c7e678c16c9a2955434ee5a09a294.tar.bz2 nixpkgs-e980bfd90e5c7e678c16c9a2955434ee5a09a294.tar.lz nixpkgs-e980bfd90e5c7e678c16c9a2955434ee5a09a294.tar.xz nixpkgs-e980bfd90e5c7e678c16c9a2955434ee5a09a294.tar.zst nixpkgs-e980bfd90e5c7e678c16c9a2955434ee5a09a294.zip |
Merge pull request #113785 from fabaff/twinkly-client
python3Packages.twinkly-client: init at 0.0.2
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/twinkly-client/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/twinkly-client/default.nix b/pkgs/development/python-modules/twinkly-client/default.nix new file mode 100644 index 00000000000..fc856430da9 --- /dev/null +++ b/pkgs/development/python-modules/twinkly-client/default.nix @@ -0,0 +1,30 @@ +{ lib +, aiohttp +, buildPythonPackage +, fetchPypi +, pythonOlder +}: + +buildPythonPackage rec { + pname = "twinkly-client"; + version = "0.0.2"; + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "16jbm4ya4yk2nfswza1kpgks70rmy5lpsv9dv3hdjdnr1j44hr3i"; + }; + + propagatedBuildInputs = [ aiohttp ]; + + # Project has no tests + doCheck = false; + pythonImportsCheck = [ "twinkly_client" ]; + + meta = with lib; { + description = "Python module to communicate with Twinkly LED strings"; + homepage = "https://github.com/dr1rrb/py-twinkly-client"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} |