nixpkgs/pkgs/development/python-modules/rpi-gpio/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

26 lines
662 B
Nix

{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "rpi-gpio";
version = "0.7.1";
format = "setuptools";
src = fetchPypi {
pname = "RPi.GPIO";
inherit version;
hash = "sha256-zWHEsDw3tiu6SlrP6phidJwzxhjgKV5+kKpHE/s3O3A=";
};
# Tests disable because they do a platform check which requires running on a
# Raspberry Pi
doCheck = false;
meta = with lib; {
homepage = "https://sourceforge.net/p/raspberry-gpio-python";
description = "Python module to control the GPIO on a Raspberry Pi";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ onny ];
};
}