pythonPackages.libevdev: init at 0.7

This commit is contained in:
Nick Hu 2020-04-24 00:20:06 +01:00
parent b772cd3a0c
commit e729bd808d
No known key found for this signature in database
GPG Key ID: 9E35DDA3DF631330
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, isPy27, fetchPypi }:
buildPythonPackage rec {
pname = "libevdev";
version = "0.7";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "10gwj08kn2rs4waq7807mq34cbavgkpg8fpir8mvnba601b8q4r4";
};
doCheck = false;
meta = with stdenv.lib; {
description = "Python wrapper around the libevdev C library";
homepage = "https://gitlab.freedesktop.org/libevdev/python-libevdev";
license = licenses.mit;
maintainers = with maintainers; [ nickhu ];
};
}

View File

@ -2597,6 +2597,8 @@ in {
libais = callPackage ../development/python-modules/libais { };
libevdev = callPackage ../development/python-modules/libevdev { };
libfdt = toPythonModule (pkgs.dtc.override {
inherit python;
pythonSupport = true;