xsuspender: init at 1.1
This commit is contained in:
parent
b54d9e27cb
commit
a97966a979
36
pkgs/applications/misc/xsuspender/default.nix
Normal file
36
pkgs/applications/misc/xsuspender/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper, pkgconfig
|
||||
, glib, libwnck3, procps }:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xsuspender-${version}";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kernc";
|
||||
repo = "xsuspender";
|
||||
rev = version;
|
||||
sha256 = "03lbga68dxg89d227sdwk1f5xj4r1pmj0qh2kasi2cqh8ll7qv4b";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" "doc" ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
|
||||
buildInputs = [ glib libwnck3 ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/xsuspender \
|
||||
--prefix PATH : "${makeBinPath [ procps ]}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Auto-suspend inactive X11 applications.";
|
||||
homepage = "https://kernc.github.io/xsuspender/";
|
||||
license = licenses.wtfpl;
|
||||
maintainers = with maintainers; [ offline ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -20305,6 +20305,8 @@ in
|
||||
inherit (gnome2) libglade;
|
||||
};
|
||||
|
||||
xsuspender = callPackage ../applications/misc/xsuspender { };
|
||||
|
||||
xss-lock = callPackage ../misc/screensavers/xss-lock { };
|
||||
|
||||
xloadimage = callPackage ../tools/X11/xloadimage { };
|
||||
|
Loading…
Reference in New Issue
Block a user