nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 45 lines 939 B view raw
1{ 2 lib, 3 stdenv, 4 fetchgit, 5 autoreconfHook, 6 pkg-config, 7 python3Packages, 8 libevdev, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "evemu"; 13 version = "2.7.0"; 14 15 # We could have downloaded a release tarball from cgit, but it changes hash 16 # each time it is downloaded :/ 17 src = fetchgit { 18 url = "git://git.freedesktop.org/git/evemu"; 19 tag = "v${version}"; 20 sha256 = "sha256-SQDaARuqBMBVlUz+Nw6mjdxaZfVOukmzTlIqy8U2rus="; 21 }; 22 23 nativeBuildInputs = [ 24 pkg-config 25 autoreconfHook 26 python3Packages.python 27 ]; 28 29 buildInputs = [ 30 python3Packages.evdev 31 libevdev 32 ]; 33 34 strictDeps = true; 35 36 meta = with lib; { 37 description = "Records and replays device descriptions and events to emulate input devices through the kernel's input system"; 38 homepage = "https://www.freedesktop.org/wiki/Evemu/"; 39 license = with licenses; [ 40 lgpl3Only 41 gpl3Only 42 ]; 43 platforms = platforms.linux; 44 }; 45}