diff options
author | Robin Gloster <mail@glob.in> | 2016-08-28 14:02:22 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-08-28 14:02:22 +0000 |
commit | b46b0381b6c5555297093655e6f8a1b8f55e75e0 (patch) | |
tree | b51bdc6121a17f921ea8d88603f8edb4e224091f /pkgs/tools/system/evemu | |
parent | 92d929c8845074da598bbf47ecea72d70b16998e (diff) |
evemu: remove obsolete substituteInPlace and use autoreconfHook
Diffstat (limited to 'pkgs/tools/system/evemu')
-rw-r--r-- | pkgs/tools/system/evemu/default.nix | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/pkgs/tools/system/evemu/default.nix b/pkgs/tools/system/evemu/default.nix index 2a2340a215253..873abd4812cb3 100644 --- a/pkgs/tools/system/evemu/default.nix +++ b/pkgs/tools/system/evemu/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchgit, automake, autoconf, libtool, pkgconfig, pythonPackages +{ stdenv, fetchgit, autoreconfHook, pkgconfig, pythonPackages , libevdev, linuxHeaders }: @@ -14,18 +14,9 @@ stdenv.mkDerivation rec { sha256 = "07iha13xrpf4z59rzl9cm2h1zkc5xhyipbd3ajd3c1d4hhpn9w9s"; }; - buildInputs = [ - automake autoconf libtool pkgconfig pythonPackages.python - pythonPackages.evdev libevdev - ]; + nativeBuildInputs = [ pkgconfig autoreconfHook ]; - preConfigure = '' - ./autogen.sh --prefix=$out - ''; - - postPatch = '' - substituteInPlace src/make-event-names.py --replace "/usr/include/linux/input.h" "${linuxHeaders}/include/linux/input.h" - ''; + buildInputs = [ pythonPackages.python pythonPackages.evdev libevdev ]; meta = with stdenv.lib; { description = "Records and replays device descriptions and events to emulate input devices through the kernel's input system"; |