Fix/+/- desktop-tools/usb-drivers/razer-bw-te-ctl
This commit is contained in:
parent
af24a4ea4c
commit
ac7a789e5e
@ -43,13 +43,9 @@ pkgs.stdenv.mkDerivation rec {
|
|||||||
ref = "master";
|
ref = "master";
|
||||||
};
|
};
|
||||||
|
|
||||||
# It's a weird mess, gdm.pc.in includes the subdirectory in includedir.
|
|
||||||
patchPhase = ''
|
|
||||||
sed -i 's|gdm-user-switching.h>|gdm/&|' gdm-switch-user.c
|
|
||||||
'';
|
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DSYSTEMD_UNITDIR=${placeholder "out"}/lib/systemd/system"
|
"-DSYSTEMD_UNITDIR=${placeholder "out"}/lib/systemd/system"
|
||||||
|
"-DSETUID="
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, full ? true
|
, full ? true
|
||||||
}:
|
}:
|
||||||
pkgs.stdenv.mkDerivation rec {
|
pkgs.stdenv.mkDerivation rec {
|
||||||
pname = "razer-bw-te-ctl";
|
pname = "usb-drivers";
|
||||||
version = "master";
|
version = "master";
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
@ -14,6 +14,7 @@ pkgs.stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
libusb
|
libusb
|
||||||
|
hidapi
|
||||||
];
|
];
|
||||||
|
|
||||||
src = if local then
|
src = if local then
|
||||||
@ -28,10 +29,14 @@ pkgs.stdenv.mkDerivation rec {
|
|||||||
ref = "master";
|
ref = "master";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DSETUID="
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
meta = with pkgs.lib; {
|
||||||
description = "Razer BlackWidow Tournament Edition control utility";
|
description = "User space USB drivers";
|
||||||
homepage = "https://git.janouch.name/p/${pname}";
|
homepage = "https://git.janouch.name/p/${pname}";
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
license = licenses.bsd0;
|
license = licenses.bsd0;
|
Loading…
x
Reference in New Issue
Block a user