2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
}:
|
2022-08-21 13:32:41 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pypemicro";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "0.1.11";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-08-21 13:32:41 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-KE085u9yIPsuEr41GNWwHFm6KAHggvqGqP9ChGRoLE0=";
|
2022-08-21 13:32:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pypemicro" ];
|
|
|
|
|
|
|
|
# tests are neither pytest nor unittest compatible and require a device
|
|
|
|
# connected via USB
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python interface for PEMicro debug probes";
|
|
|
|
homepage = "https://github.com/NXPmicro/pypemicro";
|
2024-06-05 15:53:02 +00:00
|
|
|
license = with licenses; [
|
|
|
|
bsd3
|
|
|
|
unfree
|
|
|
|
]; # it includes shared libraries for which no license is available (https://github.com/NXPmicro/pypemicro/issues/10)
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
frogamic
|
|
|
|
sbruder
|
|
|
|
];
|
2022-08-21 13:32:41 +00:00
|
|
|
};
|
|
|
|
}
|