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