nixpkgs/pkgs/development/python-modules/pypemicro/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

25 lines
797 B
Nix

{ lib, buildPythonPackage, fetchPypi, autoPatchelfHook }:
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 = 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 ];
};
}