diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-20 16:29:25 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-21 11:22:52 +0100 |
commit | 20cd1e1ffb23931674a0ac90ea0b3581a6c2a728 (patch) | |
tree | d704f42c2d7eff60d589eee6c1046e6e98f80065 /pkgs/development/python-modules/twinkly-client | |
parent | 8dfaad76ff9faf2568a5fe728f18216ddb135bb4 (diff) |
python3Packages.twinkly-client: init at 0.0.2
Diffstat (limited to 'pkgs/development/python-modules/twinkly-client')
-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 0000000000000..fc856430da955 --- /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 ]; + }; +} |