diff --git a/pkgs/development/python-modules/pypemicro/default.nix b/pkgs/development/python-modules/pypemicro/default.nix new file mode 100644 index 000000000000..e1d9d68e92d8 --- /dev/null +++ b/pkgs/development/python-modules/pypemicro/default.nix @@ -0,0 +1,24 @@ +{ lib, buildPythonPackage, fetchPypi, autoPatchelfHook }: + +buildPythonPackage rec { + pname = "pypemicro"; + version = "0.1.9"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-HouDBlqfokKhbdWWDCfaUJrqIEC5f+sSnVmsrRseFmU="; + }; + + 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"; + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8c0f9fcb5954..86d47bb8f9ef 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6659,6 +6659,8 @@ in { psrpcore = callPackage ../development/python-modules/psrpcore { }; + pypemicro = callPackage ../development/python-modules/pypemicro { }; + pyprecice = callPackage ../development/python-modules/pyprecice { }; pypsrp = callPackage ../development/python-modules/pypsrp { };