forked from mirrors/nixpkgs
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 }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "xidlehook-${version}";
|
||||
version = "0.4.9";
|
||||
version = "0.5.0";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
src = fetchFromGitLab {
|
||||
owner = "jD91mZM2";
|
||||
repo = "xidlehook";
|
||||
rev = version;
|
||||
|
||||
sha256 = "1l2kmymwxal9v5g3q21i985yc201dpybp85qfws2n5rzw8qpg1dw";
|
||||
sha256 = "1qrjwk91i31rww5lwgp84hc4h3b1prm60y45jm1f28g2bbv2qy19";
|
||||
};
|
||||
|
||||
cargoBuildFlags = lib.optionals (!stdenv.isLinux) ["--no-default-features" "--features" "pulse"];
|
||||
cargoSha256 = "1mrg59flmmqg5wwi2l8lw6p1xpgdw597fdfsmpn8b126rgzqmjl8";
|
||||
cargoSha256 = "1pdhbqnkgwp2v5zyin8z8049aq8c3kfk04v9wsbz8qla34rgi99s";
|
||||
|
||||
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ];
|
||||
nativeBuildInputs = [ pkgconfig patchelf ];
|
||||
|
|
Loading…
Reference in a new issue