summary refs log tree commit diff
path: root/pkgs/misc/screensavers/xss-lock/default.nix
blob: 500f7a9c5a3f2e2d625878fff52b3eb50cdeb93e (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
{ stdenv, fetchgit, cmake, docutils, pkgconfig, glib, libpthreadstubs
, libXau, libXdmcp, xcbutil }:

stdenv.mkDerivation {
  name = "xss-lock-git-2014-03-02";

  src = fetchgit {
    url = https://bitbucket.org/raymonad/xss-lock.git;
    rev = "1e158fb20108058dbd62bd51d8e8c003c0a48717";
    sha256 = "10hx7k7ga8g08akwz8qrsvj8iqr5nd4siiva6sjx789jvf0sak7r";
  };

  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 ];
    platforms = platforms.linux;
  };
}