nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6}:
7
8buildPythonPackage rec {
9 pname = "twinkly-client";
10 version = "0.0.3";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-F/N6yMOvLHIfXvPyR7z3P/Rlh79OvCbvEiNwClLSLl8=";
16 };
17
18 propagatedBuildInputs = [ aiohttp ];
19
20 # Project has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "twinkly_client" ];
24
25 meta = {
26 description = "Python module to communicate with Twinkly LED strings";
27 homepage = "https://github.com/dr1rrb/py-twinkly-client";
28 license = with lib.licenses; [ asl20 ];
29 maintainers = with lib.maintainers; [ fab ];
30 };
31}