linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / ds4drv / default.nix
blob05f54c2f90641d4ad71d88beee787b88915e2826
1 { lib, fetchFromGitHub, buildPythonPackage
2 , evdev, pyudev
3 , bluez
4 }:
6 buildPythonPackage rec {
7   pname = "ds4drv";
8   version = "0.5.1";
10   # PyPi only carries py3 wheel
11   src = fetchFromGitHub {
12     owner = "chrippa";
13     repo = "ds4drv";
14     rev = "v${version}";
15     sha256 = "0vinpla0apizzykcyfis79mrm1i6fhns83nkzw85svypdhkx2g8v";
16   };
18   propagatedBuildInputs = [ evdev pyudev ];
20   buildInputs = [ bluez ];
22   meta = {
23     description = "Userspace driver for the DualShock 4 controller";
24     homepage = "https://github.com/chrippa/ds4drv";
25     license = lib.licenses.mit;
26   };