1{
2 lib,
3 async-timeout,
4 buildPythonPackage,
5 decorator,
6 fetchPypi,
7 imageio,
8 imutils,
9 pythonOlder,
10 requests,
11 urllib3,
12 tqdm,
13 validators,
14 yarl,
15}:
16
17buildPythonPackage rec {
18 pname = "dremel3dpy";
19 version = "2.1.1";
20 format = "setuptools";
21
22 disabled = pythonOlder "3.7";
23
24 src = fetchPypi {
25 inherit pname version;
26 hash = "sha256-ioZwvbdPhO2kY10TqGR427mRUJBUZ5bmpiWVOV92OkI=";
27 };
28
29 propagatedBuildInputs = [
30 async-timeout
31 decorator
32 imageio
33 imutils
34 requests
35 tqdm
36 urllib3
37 validators
38 yarl
39 ];
40
41 # Module has no tests
42 doCheck = false;
43
44 pythonImportsCheck = [ "dremel3dpy" ];
45
46 meta = with lib; {
47 description = "Module for interacting with Dremel 3D printers";
48 homepage = "https://github.com/godely/dremel3dpy";
49 license = with licenses; [ mit ];
50 maintainers = with maintainers; [ fab ];
51 };
52}