summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/drivers
diff options
context:
space:
mode:
authorJan Solanti <jhs@psonet.com>2020-03-30 04:05:52 +0300
committerJan Solanti <jhs@psonet.com>2020-03-31 17:24:37 +0300
commit081ed8f0126178a0d2c624fd4bd946704db7fc6a (patch)
treecd67d9314f2987b655bf5cbe1a2d877a9a430d9f /pkgs/misc/drivers
parent35035a543c9ed2e3383ecfdf6b9c610e20c3223c (diff)
xow: 0.2 -> 0.4
Diffstat (limited to 'pkgs/misc/drivers')
-rw-r--r--pkgs/misc/drivers/xow/default.nix25
1 files changed, 13 insertions, 12 deletions
diff --git a/pkgs/misc/drivers/xow/default.nix b/pkgs/misc/drivers/xow/default.nix
index 5ca3f235fcce..d5afc96c3b4a 100644
--- a/pkgs/misc/drivers/xow/default.nix
+++ b/pkgs/misc/drivers/xow/default.nix
@@ -1,32 +1,33 @@
-{ stdenv, fetchFromGitHub, libusb, gitMinimal }:
+{ stdenv, fetchFromGitHub, libusb }:
stdenv.mkDerivation rec {
pname = "xow";
- version = "0.2";
+ version = "0.4";
src = fetchFromGitHub {
owner = "medusalix";
repo = "xow";
rev = "v${version}";
- sha256 = "03ajal91xi52svzy621aa4jcdf0vj4pqd52kljam0wryrlmcpbr3";
+ sha256 = "1xkwcx2gqip9v2h3zjmrn7sgcck3midl5alhsmr3zivgdipamynv";
};
- makeFlags = [ "BUILD=RELEASE" "VERSION=${version}" ];
+ 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"
+ ];
enableParallelBuilding = true;
buildInputs = [ libusb ];
- installPhase = ''
- runHook preInstall
- mkdir -p $out/bin
- cp xow $out/bin
- runHook postInstall
- '';
-
meta = with stdenv.lib; {
homepage = "https://github.com/medusalix/xow";
description = "Linux driver for the Xbox One wireless dongle";
license = licenses.gpl2Plus;
- maintainers = [ maintainers.pmiddend ];
+ maintainers = [ maintainers.jansol ];
platforms = platforms.linux;
};
}