mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
xidlehook: 0.4.9 -> 0.5.0
This commit is contained in:
parent
6b3bff4378
commit
fec3af14e5
@ -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 New Issue
Block a user