pythonPackages.ds4drv: 0.5.0 -> 0.5.1

Also move expression
This commit is contained in:
Marius Bakke 2016-06-18 17:26:45 +01:00 committed by Joachim Fasting
parent 3051dafeb6
commit 4aaf27bb4d
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08
2 changed files with 29 additions and 18 deletions

View File

@ -0,0 +1,27 @@
{ 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;
};
}

View File

@ -6590,24 +6590,8 @@ in {
};
};
ds4drv = buildPythonPackage rec {
name = "ds4drv-${version}";
version = "0.5.0";
src = pkgs.fetchurl {
url = "mirror://pypi/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;
};
ds4drv = callPackage ../development/python-modules/ds4drv.nix {
inherit (pkgs) fetchFromGitHub bluez;
};
dyn = buildPythonPackage rec {