python310Packages.pad4pi: init at 1.1.5

This commit is contained in:
Jonas Heinrich 2022-06-13 15:29:58 +02:00 committed by Yt
parent 69e36019ab
commit d3f9ba06c2
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, rpi-gpio }:
buildPythonPackage rec {
pname = "pad4pi";
version = "1.1.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-+oVYlqF5PQAFz4EO1ap6pjmYTLg9xQy6UbQja4utt2Q=";
};
propagatedBuildInputs = [ rpi-gpio ];
# Checks depend on rpi-gpio which requires to be run on a Raspberry Pi,
# therefore it fails on other systems
doCheck = false;
meta = with lib; {
homepage = "https://github.com/brettmclean/pad4pi";
description = "Interrupt-based matrix keypad library for Raspberry Pi";
license = licenses.lgpl3;
maintainers = with maintainers; [ onny ];
};
}

View file

@ -1119,6 +1119,8 @@ in {
babelgladeextractor = callPackage ../development/python-modules/babelgladeextractor { };
pad4pi = callPackage ../development/python-modules/pad4pi { };
pulumi = callPackage ../development/python-modules/pulumi { };
pulumi-aws = callPackage ../development/python-modules/pulumi-aws { };