Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d43fd83a275a
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b707632e4599
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 9, 2018

  1. xidlehook: 0.4.6 -> 0.4.8 (#41094)

    jD91mZM2 authored and xeji committed Jun 9, 2018
    Copy the full SHA
    b707632 View commit details
Showing with 7 additions and 5 deletions.
  1. +7 −5 pkgs/tools/X11/xidlehook/default.nix
12 changes: 7 additions & 5 deletions pkgs/tools/X11/xidlehook/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{ lib, rustPlatform, fetchFromGitHub, x11, xorg, libpulseaudio, pkgconfig, patchelf
, stdenv}:
{ lib, stdenv, rustPlatform, fetchFromGitHub, x11, xorg, libpulseaudio, pkgconfig, patchelf }:

rustPlatform.buildRustPackage rec {
name = "xidlehook-${version}";
version = "0.4.6";
version = "0.4.8";

doCheck = false;

src = fetchFromGitHub {
owner = "jD91mZM2";
repo = "xidlehook";
rev = version;

sha256 = "0h84ichm1v2wdmm4w1n7jr70yfb9hhi7kykvd99ppg00h1x9lr7w";
sha256 = "1125n5szgq7bziz3lkrhb2a2iac93ap63g2xr78ap7b9i3gxs3xh";
};

cargoSha256 = "0a1bl6fnfw6xy71q3b5zij52p9skylj1ivqj8my44bfsid2qfn7d";
cargoBuildFlags = lib.optionals (!stdenv.isLinux) ["--no-default-features" "--features" "pulse"];
cargoSha256 = "1mrg59flmmqg5wwi2l8lw6p1xpgdw597fdfsmpn8b126rgzqmjl8";

buildInputs = [ x11 xorg.libXScrnSaver libpulseaudio ];
nativeBuildInputs = [ pkgconfig patchelf ];