Merge pull request #50550 from jD91mZM2/xidlehook

xidlehook: 0.6.0 -> 0.6.1
This commit is contained in:
Sarah Brofeldt 2018-11-24 10:32:55 +01:00 committed by GitHub
commit 25c562e451
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -1,9 +1,9 @@
{ lib, stdenv, rustPlatform, fetchFromGitLab
, xlibsWrapper, xorg, libpulseaudio, pkgconfig, patchelf }:
, xlibsWrapper, xorg, libpulseaudio, pkgconfig, patchelf, Security }:
rustPlatform.buildRustPackage rec {
name = "xidlehook-${version}";
version = "0.6.0";
version = "0.6.1";
doCheck = false;
@ -12,13 +12,13 @@ rustPlatform.buildRustPackage rec {
repo = "xidlehook";
rev = version;
sha256 = "0rmc0g5cizyzwpk4yyh7bda70x9ybaivc6iw441k6abxmzbh358g";
sha256 = "04h6j66wif202x4kssagb66nnrz9m9ccs1d0dfh92955yix1ln23";
};
cargoBuildFlags = lib.optionals (!stdenv.isLinux) ["--no-default-features" "--features" "pulse"];
cargoSha256 = "1pdhbqnkgwp2v5zyin8z8049aq8c3kfk04v9wsbz8qla34rgi99s";
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ];
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ] ++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ pkgconfig patchelf ];
postFixup = lib.optionalString stdenv.isLinux ''

View file

@ -6328,7 +6328,9 @@ with pkgs;
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 { };