nixpkgs/pkgs/development/python-modules/pypemicro/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

25 lines
772 B
Nix

{ lib, buildPythonPackage, fetchPypi, autoPatchelfHook }:
buildPythonPackage rec {
pname = "pypemicro";
version = "0.1.11";
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 = 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 ];
};
}