forked from mirrors/nixpkgs
xboxdrv: 0.8.5
This commit is contained in:
parent
57e0371f12
commit
82a30be74a
28
pkgs/misc/drivers/xboxdrv/default.nix
Normal file
28
pkgs/misc/drivers/xboxdrv/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchurl, scons, libX11, pkgconfig
|
||||
, libusb1, boost, glib, dbus_glib }:
|
||||
|
||||
let
|
||||
version = "0.8.5";
|
||||
in stdenv.mkDerivation {
|
||||
name = "xboxdrv-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Grumbel/xboxdrv/archive/v${version}.tar.gz";
|
||||
sha256 = "0xg2dhfsk3i693rgwr1pr532b3hk3zmjxlx55g6bplslr94bibi2";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile --replace /usr/local "$out"
|
||||
'';
|
||||
|
||||
buildInputs = [ scons libX11 pkgconfig libusb1 boost glib dbus_glib];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://pingus.seul.org/~grumbel/xboxdrv/";
|
||||
description =
|
||||
"Xbox/Xbox360 (and more) gamepad driver for Linux that works in userspace.";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.fuuzetsu ];
|
||||
};
|
||||
|
||||
}
|
|
@ -11041,6 +11041,8 @@ let
|
|||
|
||||
x2x = callPackage ../tools/X11/x2x { };
|
||||
|
||||
xboxdrv = callPackage ../misc/drivers/xboxdrv { };
|
||||
|
||||
xosd = callPackage ../misc/xosd { };
|
||||
|
||||
xsane = callPackage ../applications/graphics/sane/xsane.nix {
|
||||
|
|
Loading…
Reference in a new issue