20 stdenv.mkDerivation rec {
21 pname = "xprintidle-ng";
22 version = "unstable-2015-09-01";
24 src = fetchFromGitHub {
27 rev = "9083ba284d9222541ce7da8dc87d5a27ef5cc592";
28 sha256 = "0a5024vimpfrpj6w60j1ad8qvjkrmxiy8w1yijxfwk917ag9rkpq";
32 ./fix-config_h-includes-should-be-first.patch
36 substituteInPlace configure.ac \
37 --replace "AC_PREREQ([2.62])" "AC_PREREQ([2.64])"
54 ./bootstrap --gnulib-srcdir=${gnulib}
55 ./configure --prefix="$out"
66 description = "Command-line tool to print idle time from libXss";
67 homepage = "https://github.com/taktoa/xprintidle-ng";
68 license = lib.licenses.gpl2Only;
69 maintainers = [ lib.maintainers.raskin ];
70 platforms = lib.platforms.linux;
71 mainProgram = "xprintidle-ng";