blob: 975b464f049fe11b0ea39cf4dd007259cb9422c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, fetchFromGitHub, libX11, libXScrnSaver, libXext, meson, pkg-config
, ninja }:
stdenv.mkDerivation rec {
pname = "xprintidle";
version = "0.2.4";
src = fetchFromGitHub {
owner = "g0hl1n";
repo = pname;
rev = version;
sha256 = "10na3ymzfhpq800wsyd23m57ngz69nn5i10c7p9iya8hzi7cf20a";
};
nativeBuildInputs = [ meson pkg-config ninja ];
buildInputs = [ libX11 libXScrnSaver libXext ];
meta = {
inherit version;
description = "A command-line tool to print idle time from libXss";
homepage = "https://github.com/g0hl1n/xprintidle";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.raskin ];
platforms = stdenv.lib.platforms.linux;
};
}
|