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