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