Something went wrong. Try again.
lol
Something went wrong. Try again.
620 B · 30 lines
Nix
at master
12345678910111213141516171819202122232425262728293031{ lib, buildPythonPackage, libgpiod, setuptools,}:buildPythonPackage { pname = "gpiod"; inherit (libgpiod) version src; pyproject = true;
build-system = [ setuptools ];
buildInputs = [ libgpiod ];
preConfigure = '' cd bindings/python '';
# Requires libgpiod built with --enable-tests doCheck = false; pythonImportsCheck = [ "gpiod" ];
meta = { description = "Python bindings for libgpiod"; homepage = "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/about/"; license = lib.licenses.lgpl21Plus; maintainers = with lib.maintainers; [ lopsided98 ]; };}