depot/third_party/nixpkgs/pkgs/development/python-modules/python-periphery/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

26 lines
628 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "python-periphery";
version = "2.4.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-YdRh1zaYKm92boeHIKsQpoFR4ujBCGYA2TiaxH5A6Io=";
};
# Some tests require physical probing and additional physical setup
doCheck = false;
meta = {
homepage = "https://github.com/vsergeev/python-periphery";
description = "Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) with Python 2 & 3";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bandresen ];
};
}