Skip to content

Commit

Permalink
Merge pull request #23021 from rasendubi/python-evdev
Browse files Browse the repository at this point in the history
pythonPackages.evdev: 0.4.7 -> 0.6.4
  • Loading branch information
FRidh committed Feb 20, 2017
2 parents dd054e8 + f0f7543 commit 27bcb85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 27bcb85

Please sign in to comment.