2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, async-timeout
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-06-26 10:26:21 +00:00
|
|
|
, imageio
|
|
|
|
, imutils
|
2022-06-16 17:23:12 +00:00
|
|
|
, pythonOlder
|
|
|
|
, requests
|
|
|
|
, urllib3
|
2022-06-26 10:26:21 +00:00
|
|
|
, tqdm
|
2022-06-16 17:23:12 +00:00
|
|
|
, validators
|
|
|
|
, yarl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dremel3dpy";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "2.1.1";
|
2022-06-16 17:23:12 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-07-14 12:49:19 +00:00
|
|
|
hash = "sha256-ioZwvbdPhO2kY10TqGR427mRUJBUZ5bmpiWVOV92OkI=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
async-timeout
|
2022-06-26 10:26:21 +00:00
|
|
|
imageio
|
|
|
|
imutils
|
2022-06-16 17:23:12 +00:00
|
|
|
requests
|
2022-06-26 10:26:21 +00:00
|
|
|
tqdm
|
2022-06-16 17:23:12 +00:00
|
|
|
urllib3
|
|
|
|
validators
|
|
|
|
yarl
|
|
|
|
];
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|