1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 requests,
7 standard-telnetlib,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "plumlightpad";
13 version = "0.0.11";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-5J+kk/fn45v/1WIsBuq6o7hivXkCaJ1Of7BLRf10rCk=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [
24 requests
25 standard-telnetlib
26 ];
27
28 nativeCheckInputs = [ pytestCheckHook ];
29
30 # Package has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "plumlightpad" ];
34
35 meta = {
36 description = "A python package that interacts with the Plum Lightpad";
37 homepage = "https://github.com/heathbar/plum-lightpad-python";
38 license = lib.licenses.mit;
39 maintainers = [ lib.maintainers.jamiemagee ];
40 };
41}