summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pypemicro/default.nix
blob: 1b6c53bed33133545bdc7a8995ee012a18888d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "pypemicro";
  version = "0.1.11";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-KE085u9yIPsuEr41GNWwHFm6KAHggvqGqP9ChGRoLE0=";
  };

  pythonImportsCheck = [ "pypemicro" ];

  # tests are neither pytest nor unittest compatible and require a device
  # connected via USB
  doCheck = false;

  meta = {
    description = "Python interface for PEMicro debug probes";
    homepage = "https://github.com/NXPmicro/pypemicro";
    license = with lib.licenses; [
      bsd3
      unfree
    ]; # it includes shared libraries for which no license is available (https://github.com/NXPmicro/pypemicro/issues/10)
    maintainers = with lib.maintainers; [
      frogamic
      sbruder
    ];
  };
}