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