3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #6996 from oxij/add-physlock

physlock: add version git-20150126
This commit is contained in:
Arseniy Seroka 2015-03-26 20:13:54 +03:00
commit c6c442bc06
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "git-20150126";
name = "physlock-${version}";
src = fetchFromGitHub {
owner = "muennich";
repo = "physlock";
rev = "b64dccc8c22710f8bf01eb5419590cdb0e65cabb";
sha256 = "1dapkwj3y6bb4j8q4glms7zsqm7drr37nrnr30sbahwq67rnvzcc";
};
preConfigure = ''
substituteInPlace Makefile \
--replace /usr/local $out \
--replace "-m 4755 -o root -g root" ""
'';
meta = with stdenv.lib; {
description = "A secure suspend/hibernate-friendly alternative to `vlock -an` without PAM support";
license = licenses.gpl2;
platforms = platforms.linux;
};
}

View file

@ -13716,6 +13716,8 @@ let
phabricator = callPackage ../misc/phabricator { };
physlock = callPackage ../misc/screensavers/physlock { };
pjsip = callPackage ../applications/networking/pjsip { };
polytable = callPackage ../tools/typesetting/tex/polytable { };