diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 05e66106bd32..6fb2e61ff78c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5053,6 +5053,27 @@ in modules // { }; }; + + ds4drv = buildPythonPackage rec { + name = "ds4drv-${version}"; + version = "0.5.0"; + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/d/ds4drv/${name}.tar.gz"; + sha256 = "0dq2z1z09zxa6rn3v94vwqaaz29jwiydkss8hbjglixf20krmw3b"; + }; + + propagatedBuildInputs = with self; [ evdev pyudev ]; + + buildInputs = [ pkgs.bluez ]; + + meta = { + description = "Userspace driver for the DualShock 4 controller"; + homepage = "https://github.com/chrippa/ds4drv"; + license = licenses.mit; + }; + + }; + dyn = buildPythonPackage rec { version = "1.5.0"; name = "dyn-${version}";