nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchPypi,
6}:
7
8buildPythonPackage rec {
9 pname = "lightwave2";
10 version = "0.8.23";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-umhFqeX16c6o006MU9/9h4EnqcX7v8C5q3XjxYgi+xk=";
16 };
17
18 propagatedBuildInputs = [ aiohttp ];
19
20 # Module has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "lightwave2" ];
24
25 meta = {
26 description = "Library to interact with LightWaveRF 2nd Gen lights and switches";
27 homepage = "https://github.com/bigbadblunt/lightwave2";
28 license = lib.licenses.mit;
29 maintainers = with lib.maintainers; [ fab ];
30 };
31}