nixpkgs/pkgs/misc/screensavers/xss-lock/default.nix

27 lines
738 B
Nix
Raw Normal View History

2015-02-01 19:07:01 +01:00
{ stdenv, fetchgit, cmake, docutils, pkgconfig, glib, libpthreadstubs
, libXau, libXdmcp, xcbutil }:
stdenv.mkDerivation {
name = "xss-lock-git";
src = fetchgit {
url = https://bitbucket.org/raymonad/xss-lock.git;
rev = "1e158fb20108058dbd62bd51d8e8c003c0a48717";
sha256 = "0jdpd6x1kk30qynv2n4zbjmsicvwjwcldr2224da0srzl7sgyjsg";
2015-02-01 19:07:01 +01:00
};
buildInputs = [ cmake pkgconfig docutils glib libpthreadstubs libXau
libXdmcp xcbutil ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
];
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;
};
}