567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
53 lines
882 B
Nix
53 lines
882 B
Nix
{
|
|
lib,
|
|
async-timeout,
|
|
buildPythonPackage,
|
|
decorator,
|
|
fetchPypi,
|
|
imageio,
|
|
imutils,
|
|
pythonOlder,
|
|
requests,
|
|
urllib3,
|
|
tqdm,
|
|
validators,
|
|
yarl,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dremel3dpy";
|
|
version = "2.1.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-ioZwvbdPhO2kY10TqGR427mRUJBUZ5bmpiWVOV92OkI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
async-timeout
|
|
decorator
|
|
imageio
|
|
imutils
|
|
requests
|
|
tqdm
|
|
urllib3
|
|
validators
|
|
yarl
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "dremel3dpy" ];
|
|
|
|
meta = {
|
|
description = "Module for interacting with Dremel 3D printers";
|
|
homepage = "https://github.com/godely/dremel3dpy";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|