Merge pull request #49343 from jD91mZM2/xidlehook
xidlehook: 0.4.9 -> 0.5.0
This commit is contained in:
commit
7c0fbdfc70
|
@ -1,22 +1,22 @@
|
||||||
{ lib, stdenv, rustPlatform, fetchFromGitHub
|
{ lib, stdenv, rustPlatform, fetchFromGitLab
|
||||||
, xlibsWrapper, xorg, libpulseaudio, pkgconfig, patchelf }:
|
, xlibsWrapper, xorg, libpulseaudio, pkgconfig, patchelf }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "xidlehook-${version}";
|
name = "xidlehook-${version}";
|
||||||
version = "0.4.9";
|
version = "0.5.0";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitLab {
|
||||||
owner = "jD91mZM2";
|
owner = "jD91mZM2";
|
||||||
repo = "xidlehook";
|
repo = "xidlehook";
|
||||||
rev = version;
|
rev = version;
|
||||||
|
|
||||||
sha256 = "1l2kmymwxal9v5g3q21i985yc201dpybp85qfws2n5rzw8qpg1dw";
|
sha256 = "1qrjwk91i31rww5lwgp84hc4h3b1prm60y45jm1f28g2bbv2qy19";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoBuildFlags = lib.optionals (!stdenv.isLinux) ["--no-default-features" "--features" "pulse"];
|
cargoBuildFlags = lib.optionals (!stdenv.isLinux) ["--no-default-features" "--features" "pulse"];
|
||||||
cargoSha256 = "1mrg59flmmqg5wwi2l8lw6p1xpgdw597fdfsmpn8b126rgzqmjl8";
|
cargoSha256 = "1pdhbqnkgwp2v5zyin8z8049aq8c3kfk04v9wsbz8qla34rgi99s";
|
||||||
|
|
||||||
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ];
|
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ];
|
||||||
nativeBuildInputs = [ pkgconfig patchelf ];
|
nativeBuildInputs = [ pkgconfig patchelf ];
|
||||||
|
|
Loading…
Reference in a new issue