Merge pull request #50550 from jD91mZM2/xidlehook
xidlehook: 0.6.0 -> 0.6.1
This commit is contained in:
commit
25c562e451
@ -1,9 +1,9 @@
|
|||||||
{ lib, stdenv, rustPlatform, fetchFromGitLab
|
{ lib, stdenv, rustPlatform, fetchFromGitLab
|
||||||
, xlibsWrapper, xorg, libpulseaudio, pkgconfig, patchelf }:
|
, xlibsWrapper, xorg, libpulseaudio, pkgconfig, patchelf, Security }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "xidlehook-${version}";
|
name = "xidlehook-${version}";
|
||||||
version = "0.6.0";
|
version = "0.6.1";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
@ -12,13 +12,13 @@ rustPlatform.buildRustPackage rec {
|
|||||||
repo = "xidlehook";
|
repo = "xidlehook";
|
||||||
rev = version;
|
rev = version;
|
||||||
|
|
||||||
sha256 = "0rmc0g5cizyzwpk4yyh7bda70x9ybaivc6iw441k6abxmzbh358g";
|
sha256 = "04h6j66wif202x4kssagb66nnrz9m9ccs1d0dfh92955yix1ln23";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoBuildFlags = lib.optionals (!stdenv.isLinux) ["--no-default-features" "--features" "pulse"];
|
cargoBuildFlags = lib.optionals (!stdenv.isLinux) ["--no-default-features" "--features" "pulse"];
|
||||||
cargoSha256 = "1pdhbqnkgwp2v5zyin8z8049aq8c3kfk04v9wsbz8qla34rgi99s";
|
cargoSha256 = "1pdhbqnkgwp2v5zyin8z8049aq8c3kfk04v9wsbz8qla34rgi99s";
|
||||||
|
|
||||||
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ];
|
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ] ++ lib.optional stdenv.isDarwin Security;
|
||||||
nativeBuildInputs = [ pkgconfig patchelf ];
|
nativeBuildInputs = [ pkgconfig patchelf ];
|
||||||
|
|
||||||
postFixup = lib.optionalString stdenv.isLinux ''
|
postFixup = lib.optionalString stdenv.isLinux ''
|
||||||
|
@ -6328,7 +6328,9 @@ with pkgs;
|
|||||||
|
|
||||||
xiccd = callPackage ../tools/misc/xiccd { };
|
xiccd = callPackage ../tools/misc/xiccd { };
|
||||||
|
|
||||||
xidlehook = callPackage ../tools/X11/xidlehook {};
|
xidlehook = callPackage ../tools/X11/xidlehook {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
xorriso = callPackage ../tools/cd-dvd/xorriso { };
|
xorriso = callPackage ../tools/cd-dvd/xorriso { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user