Merge pull request #173863 from fabaff/dremel3dpy

python310Packages.dremel3dpy: init at 0.3.4
This commit is contained in:
Fabian Affolter 2022-05-21 23:30:35 +02:00 committed by GitHub
commit 16d4672427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,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 ];
};
}

View File

@ -2530,6 +2530,8 @@ in {
dragonfly = callPackage ../development/python-modules/dragonfly { };
dremel3dpy = callPackage ../development/python-modules/dremel3dpy { };
drf-jwt = callPackage ../development/python-modules/drf-jwt { };
drf-nested-routers = callPackage ../development/python-modules/drf-nested-routers { };