physlock: 11-dev -> v13
This commit is contained in:
parent
91e1a6d0df
commit
97aab6ee16
@ -1,24 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, pam, systemd }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "11-dev";
|
||||
stdenv.mkDerivation rec {
|
||||
version = "v13";
|
||||
pname = "physlock";
|
||||
src = fetchFromGitHub {
|
||||
owner = "muennich";
|
||||
repo = "physlock";
|
||||
rev = "31cc383afc661d44b6adb13a7a5470169753608f";
|
||||
sha256 = "0j6v8li3vw9y7vwh9q9mk1n1cnwlcy3bgr1jgw5gcv2am2yi4vx3";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1mz4xxjip5ldiw9jgfq9zvqb6w10bcjfx6939w1appqg8f521a7s";
|
||||
};
|
||||
|
||||
buildInputs = [ pam systemd ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace /usr/local $out \
|
||||
--replace "-m 4755 -o root -g root" ""
|
||||
'';
|
||||
|
||||
makeFlags = "SESSION=systemd";
|
||||
makeFlags = [ "PREFIX=$(out)" "SESSION=systemd" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A secure suspend/hibernate-friendly alternative to `vlock -an`";
|
||||
|
Loading…
Reference in New Issue
Block a user