2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, docutils, pkg-config, glib, libpthreadstubs
|
2015-02-01 19:07:01 +01:00
|
|
|
, libXau, libXdmcp, xcbutil }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-08-12 23:00:21 +02:00
|
|
|
pname = "xss-lock";
|
|
|
|
version = "unstable-2018-05-31";
|
2015-02-01 19:07:01 +01:00
|
|
|
|
2020-01-20 00:55:03 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xdbob";
|
|
|
|
repo = "xss-lock";
|
|
|
|
rev = "cd0b89df9bac1880ea6ea830251c6b4492d505a5";
|
|
|
|
sha256 = "040nqgfh564frvqkrkmak3x3h0yadz6kzk81jkfvd9vd20a9drh7";
|
2015-02-01 19:07:01 +01:00
|
|
|
};
|
|
|
|
|
2020-12-31 08:48:55 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config docutils ];
|
|
|
|
buildInputs = [ glib libpthreadstubs libXau libXdmcp xcbutil ];
|
2015-02-01 19:07:01 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-02-01 19:07:01 +01:00
|
|
|
description = "Use external locker (such as i3lock) as X screen saver";
|
|
|
|
license = licenses.mit;
|
2023-08-22 06:28:02 +02:00
|
|
|
mainProgram = "xss-lock";
|
2020-01-20 00:55:03 +01:00
|
|
|
maintainers = with maintainers; [ malyn offline ];
|
2015-02-01 19:07:01 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|