uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
27
pkgs/development/python-modules/ds4drv/default.nix
Normal file
27
pkgs/development/python-modules/ds4drv/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, fetchFromGitHub, buildPythonPackage
|
||||
, evdev, pyudev
|
||||
, bluez
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ds4drv";
|
||||
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue