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