depot/third_party/nixpkgs/pkgs/development/python-modules/pypemicro/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

24 lines
773 B
Nix

{ 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 ];
};
}