-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
x11idle: init at unstable-2017-07-01 #27062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Retrieving from org-mode's current origin/master
pkgs/tools/misc/x11idle/default.nix
Outdated
unpackPhase = ":"; | ||
buildInputs = [ xlibs.libXScrnSaver xlibs.libX11 ]; | ||
meta = { | ||
description = "Gather the current idle time from X11."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to read this description two times to figure out what it meant.
Please replace with Compute consecutive idle time duration for current X session of current user with millisecond resolution
. In the long description mention that Idle time passes when e.g. the user doesn't move the mouse or uses the keyboard.
pkgs/tools/misc/x11idle/default.nix
Outdated
Idle time passes when the user does not act, i.e. when the user doesn't move the mouse or use the keyboard. | ||
''; | ||
homepage = "http://orgmode.org/"; | ||
license = stdenv.lib.licenses.free; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license is gpl3.
pkgs/tools/misc/x11idle/default.nix
Outdated
@@ -0,0 +1,19 @@ | |||
{ stdenv, xlibs, fetchgit }: | |||
|
|||
stdenv.mkDerivation { name = "x11idle"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version number is missing in name attribute.
A reference in all-packages.nix is missing. |
I squashed my changes with your commits. Note that for commit titles, we have also convention how we name them (ex: x11idle: init at unstable-2017-07-01). |
Motivation for this change
Define the x11idle package from Emacs Org Mode to make use easier.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)