about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-uinput/default.nix
blob: ef5ecb4105bcb40ba4ded5f158e5bdeb00731b5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  lib,
  buildPythonPackage,
  fetchPypi,
  udev,
}:

buildPythonPackage rec {
  pname = "python-uinput";
  version = "1.0.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-hTaXNEtk31U31K4yum+88FFdUakBCRD11QGZWQOLbro=";
  };

  buildInputs = [ udev ];

  NIX_CFLAGS_LINK = "-ludev";

  doCheck = false; # no tests

  meta = with lib; {
    description = "Pythonic API to Linux uinput kernel module";
    homepage = "https://tjjr.fi/sw/python-uinput/";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ abbradar ];
  };
}