1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 autoPatchelfHook, 6}: 7 8buildPythonPackage rec { 9 pname = "pypemicro"; 10 version = "0.1.11"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-KE085u9yIPsuEr41GNWwHFm6KAHggvqGqP9ChGRoLE0="; 16 }; 17 18 pythonImportsCheck = [ "pypemicro" ]; 19 20 # tests are neither pytest nor unittest compatible and require a device 21 # connected via USB 22 doCheck = false; 23 24 meta = with lib; { 25 description = "Python interface for PEMicro debug probes"; 26 homepage = "https://github.com/NXPmicro/pypemicro"; 27 license = with licenses; [ 28 bsd3 29 unfree 30 ]; # it includes shared libraries for which no license is available (https://github.com/NXPmicro/pypemicro/issues/10) 31 maintainers = with maintainers; [ 32 frogamic 33 sbruder 34 ]; 35 }; 36}