Skip to content

Commit

Permalink
Add xss-lock
Browse files Browse the repository at this point in the history
  • Loading branch information
malyn committed Feb 1, 2015
1 parent 95829c8 commit 6cb1d1a
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/misc/screensavers/xss-lock/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ 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 = "d75612f1d1eea64b5c43806eea88059340a08ca9";
sha256 = "4d57bcfd45287b5b068f45eeceb9e43d975806a038a4c586b141da5d99b3e48b";
};

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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11834,6 +11834,8 @@ let
inherit (gnome) libglade;
};

xss-lock = callPackage ../misc/screensavers/xss-lock { };

xsynth_dssi = callPackage ../applications/audio/xsynth-dssi { };

xterm = callPackage ../applications/misc/xterm { };
Expand Down

0 comments on commit 6cb1d1a

Please sign in to comment.