depot/third_party/nixpkgs/pkgs/development/python-modules/libevdev/default.nix

22 lines
533 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, isPy27, fetchPypi }:
buildPythonPackage rec {
pname = "libevdev";
version = "0.9";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "17agnigmzscmdjqmrylg1lza03hwjhgxbpf4l705s6i7p7ndaqrs";
};
doCheck = false;
meta = with stdenv.lib; {
description = "Python wrapper around the libevdev C library";
homepage = "https://gitlab.freedesktop.org/libevdev/python-libevdev";
license = licenses.mit;
maintainers = with maintainers; [ nickhu ];
};
}