nixpkgs/pkgs/development/libraries/libevdev/default.nix

22 lines
591 B
Nix
Raw Normal View History

2019-12-14 13:10:15 +00:00
{ stdenv, fetchurl, python3 }:
stdenv.mkDerivation rec {
2019-08-29 20:28:01 +01:00
pname = "libevdev";
2019-08-29 20:28:52 +01:00
version = "1.8.0";
src = fetchurl {
2019-08-29 20:28:01 +01:00
url = "https://www.freedesktop.org/software/${pname}/${pname}-${version}.tar.xz";
2019-08-29 20:28:52 +01:00
sha256 = "04a2klvii0in9ln8r85mk2cm73jq8ry2m3yzmf2z8xyjxzjcmlr0";
};
2019-12-14 13:10:15 +00:00
buildInputs = [ python3 ];
meta = with stdenv.lib; {
description = "Wrapper library for evdev devices";
2014-10-19 18:08:42 +01:00
homepage = http://www.freedesktop.org/software/libevdev/doc/latest/index.html;
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.amorsillo ];
};
}