mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 16:42:09 +00:00
Merge pull request #23021 from rasendubi/python-evdev
pythonPackages.evdev: 0.4.7 -> 0.6.4
This commit is contained in:
commit
27bcb857b1
|
@ -6762,18 +6762,18 @@ in {
|
|||
};
|
||||
|
||||
evdev = buildPythonPackage rec {
|
||||
version = "0.4.7";
|
||||
version = "0.6.4";
|
||||
name = "evdev-${version}";
|
||||
disabled = isPy34; # see http://bugs.python.org/issue21121
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/e/evdev/${name}.tar.gz";
|
||||
sha256 = "1mz8cfncpxc1wbk2nj7apl0ssqc0vfndysxchq3wabd9vzx5p71k";
|
||||
sha256 = "1wkag91s8j0f45jx5n619z354n8pz8in9krn81hp7hlkhi6p8s2j";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pkgs.linuxHeaders ];
|
||||
|
||||
patchPhase = "sed -e 's#/usr/include/linux/input.h#${pkgs.linuxHeaders}/include/linux/input.h#' -i setup.py";
|
||||
patchPhase = "sed -e 's#/usr/include/linux/#${pkgs.linuxHeaders}/include/linux/#g' -i setup.py";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue