git.iko.soy/typeable/nixpkgs
on master help sign in
xprintidel-ng: init at git-2015-09-01
commit154e88ab3fdbc0f7f201aea180a97b0903726887 authorMichael Raskin <7c6f434c@mail.ru> dateSat 12 Dec 2015, 11:47 (11 years ago) parentc29702d
2 files changed+38
pkgs/tools/X11/xprintidle-ng/default.nix+36 pkgs/top-level/all-packages.nix+2
pkgs/tools/X11/xprintidle-ng/default.nixnew file+36
@@ -0,0 +1,36 @@
1+{ stdenv, fetchFromGitHub, libX11, libXScrnSaver, libXext, gnulib
2+ , autoconf, automake, libtool, gettext, pkgconfig
3+ , git, perl, texinfo, help2man
4+}:
5+stdenv.mkDerivation rec {
6+ version = "git-2015-09-01";
7+ name = "${baseName}-${version}";
8+ baseName = "xprintidle-ng";
9+
10+ buildInputs = [
11+ libX11 libXScrnSaver libXext gnulib
12+ autoconf automake libtool gettext pkgconfig git perl
13+ texinfo help2man
14+ ];
15+ src = fetchFromGitHub {
16+ owner = "taktoa";
17+ repo = "${baseName}";
18+ rev = "9083ba284d9222541ce7da8dc87d5a27ef5cc592";
19+ sha256 = "0a5024vimpfrpj6w60j1ad8qvjkrmxiy8w1yijxfwk917ag9rkpq";
20+ };
21+
22+ configurePhase = ''
23+ cp -r "${gnulib}" gnulib
24+ chmod a+rX,u+w -R gnulib
25+ ./bootstrap --gnulib-srcdir=gnulib
26+ ./configure --prefix="$out"
27+ '';
28+
29+ meta = {
30+ inherit version;
31+ description = ''A command-line tool to print idle time from libXss'';
32+ license = stdenv.lib.licenses.gpl2 ;
33+ maintainers = [stdenv.lib.maintainers.raskin];
34+ platforms = stdenv.lib.platforms.linux;
35+ };
36+}
pkgs/top-level/all-packages.nix+2
@@ -3495,6 +3495,8 @@ let
34953495
34963496 xbrightness = callPackage ../tools/X11/xbrightness { };
34973497
3498+ xprintidle-ng = callPackage ../tools/X11/xprintidle-ng {};
3499+
34983500 xsettingsd = callPackage ../tools/X11/xsettingsd { };
34993501
35003502 xsensors = callPackage ../os-specific/linux/xsensors { };