nixpkgs/pkgs/development/python-modules/ds4drv.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

29 lines
614 B
Nix

{ 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;
};
}