blob: 06de83a778ae5e7c106f0367f5b20e9ff9ecdc09 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{ lib
, async-timeout
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
, urllib3
, validators
, yarl
}:
buildPythonPackage rec {
pname = "dremel3dpy";
version = "0.3.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-zKbHKdgMx76cYGPvPVSm39si0LfyDA4L1CcKaQzEpCw=";
};
propagatedBuildInputs = [
async-timeout
requests
urllib3
validators
yarl
];
postPatch = ''
# Ignore the pinning
sed -i -e "s/==[0-9.]*//" setup.py
'';
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"dremel3dpy"
];
meta = with lib; {
description = "Module for interacting with Dremel 3D printers";
homepage = "https://github.com/godely/dremel3dpy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|