xidlehook: 0.4.9 -> 0.5.0

This commit is contained in:
jD91mZM2 2018-10-28 11:33:56 +01:00
parent 6b3bff4378
commit fec3af14e5
No known key found for this signature in database
GPG Key ID: 3055D54729A72666

View File

@ -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 ];