depot/third_party/nixpkgs/pkgs/development/python-modules/dremel3dpy/default.nix
Default email 889482aab3 Project import generated by Copybara.
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
2022-06-26 12:26:21 +02:00

56 lines
937 B
Nix

{ lib
, async-timeout
, buildPythonPackage
, fetchPypi
, imageio
, imutils
, pythonOlder
, requests
, urllib3
, tqdm
, validators
, yarl
}:
buildPythonPackage rec {
pname = "dremel3dpy";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-wqfCzS9dhRN/zerrC6g/O8tn0k1IC0wBdZMfWumtBds=";
};
propagatedBuildInputs = [
async-timeout
imageio
imutils
requests
tqdm
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 ];
};
}