My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/misc/drivers/xow/default.nix

34 lines
917 B

4 years ago
{ stdenv, fetchFromGitHub, libusb }:
5 years ago
stdenv.mkDerivation rec {
pname = "xow";
4 years ago
version = "0.4";
5 years ago
src = fetchFromGitHub {
owner = "medusalix";
repo = "xow";
rev = "v${version}";
4 years ago
sha256 = "1xkwcx2gqip9v2h3zjmrn7sgcck3midl5alhsmr3zivgdipamynv";
5 years ago
};
4 years ago
makeFlags = [
"BUILD=RELEASE"
"VERSION=${version}"
"BINDIR=${placeholder ''out''}/bin"
"UDEVDIR=${placeholder ''out''}/lib/udev/rules.d"
"MODLDIR=${placeholder ''out''}/lib/modules-load.d"
"MODPDIR=${placeholder ''out''}/lib/modprobe.d"
"SYSDDIR=${placeholder ''out''}/lib/systemd/system"
];
5 years ago
enableParallelBuilding = true;
buildInputs = [ libusb ];
meta = with stdenv.lib; {
homepage = "https://github.com/medusalix/xow";
description = "Linux driver for the Xbox One wireless dongle";
license = licenses.gpl2Plus;
4 years ago
maintainers = [ maintainers.jansol ];
5 years ago
platforms = platforms.linux;
};
}