Python: move expressions in python-modules to their own folders

This commit is contained in:
Frederik Rietdijk
2017-11-05 10:45:54 +01:00
parent 37d5539aeb
commit 07eeeb3600
30 changed files with 30 additions and 30 deletions

View File

@@ -0,0 +1,28 @@
{ lib, fetchFromGitHub, buildPythonPackage
, evdev, pyudev
, bluez
}:
buildPythonPackage rec {
pname = "ds4drv";
name = "${pname}-${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;
};
}