Merge pull request #213551 from fabaff/evdev-bump
python310Packages.evdev: 1.6.0 -> 1.6.1
This commit is contained in:
commit
52b7c0e724
2 changed files with 23 additions and 6 deletions
|
@ -52,6 +52,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Python library for the Blink Camera system";
|
||||
homepage = "https://github.com/fronzbot/blinkpy";
|
||||
changelog = "https://github.com/fronzbot/blinkpy/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
|
|
@ -1,25 +1,41 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, linuxHeaders }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, linuxHeaders
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "evdev";
|
||||
version = "1.6.0";
|
||||
version = "1.6.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-7PoBtchPfoxs7TNnrJUoj0PNhO+/1919DNv8DRjIemo=";
|
||||
hash = "sha256-KZ24YozHOyN/wcxX08KUj6oHVuKli2GUtb+B3CCB8eM=";
|
||||
};
|
||||
|
||||
buildInputs = [ linuxHeaders ];
|
||||
buildInputs = [
|
||||
linuxHeaders
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace setup.py --replace /usr/include/linux ${linuxHeaders}/include/linux
|
||||
substituteInPlace setup.py \
|
||||
--replace /usr/include/linux ${linuxHeaders}/include/linux
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"evdev"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Provides bindings to the generic input event interface in Linux";
|
||||
homepage = "https://pythonhosted.org/evdev";
|
||||
homepage = "https://python-evdev.readthedocs.io/";
|
||||
changelog = "https://github.com/gvalkov/python-evdev/blob/v${version}/docs/changelog.rst";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
platforms = platforms.linux;
|
||||
|
|
Loading…
Reference in a new issue