1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00
nixpkgs/pkgs/development/python-modules/ds4drv.nix
Marius Bakke 4aaf27bb4d
pythonPackages.ds4drv: 0.5.0 -> 0.5.1
Also move expression
2017-03-11 15:25:32 +01:00

28 lines
594 B
Nix

{ lib, fetchFromGitHub, buildPythonPackage
, evdev, pyudev
, bluez
}:
buildPythonPackage rec {
name = "ds4drv-${version}";
version = "0.5.1";
# PyPi only carries py3 wheel
src = fetchFromGitHub {
owner = "chrippa";
repo = "ds4drv";
rev = "v${version}";
sha256 = "0vinpla0apizzykcyfis79mrm1i6fhns83nkzw85svypdhkx2g8v";
};
propagatedBuildInputs = [ evdev pyudev ];
buildInputs = [ bluez ];
meta = {
description = "Userspace driver for the DualShock 4 controller";
homepage = "https://github.com/chrippa/ds4drv";
license = lib.licenses.mit;
};
}