summary refs log tree commit diff
path: root/pkgs/misc/screensavers/xss-lock/default.nix
blob: b7b0e27ad46b1d4956a060a8919f916262092334 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub, cmake, docutils, pkgconfig, glib, libpthreadstubs
, libXau, libXdmcp, xcbutil }:

stdenv.mkDerivation {
  name = "xss-lock-git-2018-05-31";

  src = fetchFromGitHub {
    owner = "xdbob";
    repo = "xss-lock";
    rev = "cd0b89df9bac1880ea6ea830251c6b4492d505a5";
    sha256 = "040nqgfh564frvqkrkmak3x3h0yadz6kzk81jkfvd9vd20a9drh7";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ cmake docutils glib libpthreadstubs libXau
                  libXdmcp xcbutil ];

  meta = with stdenv.lib; {
    description = "Use external locker (such as i3lock) as X screen saver";
    license = licenses.mit;
    maintainers = with maintainers; [ malyn offline ];
    platforms = platforms.linux;
  };
}