logkeys: 2015-11-10 -> 2017-10-10
This commit is contained in:
parent
9b08b87f4d
commit
f9a5cacae7
@ -1,28 +1,30 @@
|
|||||||
{ stdenv, fetchgit, which, procps, kbd }:
|
{ stdenv, fetchgit, autoconf, automake, which, procps, kbd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "logkeys-${version}";
|
name = "logkeys-${version}";
|
||||||
version = "2015-11-10";
|
version = "2017-10-10";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = https://github.com/kernc/logkeys;
|
url = https://github.com/kernc/logkeys;
|
||||||
rev = "78321c6e70f61c1e7e672fa82daa664017c9e69d";
|
rev = "5c368327a2cd818efaed4794633c260b90b87abf";
|
||||||
sha256 = "1b1fa1rblyfsg6avqyls03y0rq0favipn5fha770rsirzg4r637q";
|
sha256 = "0akj7j775y9c0p53zq5v12jk3fy030fpdvn5m1x9w4rdj47vxdpg";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ which procps kbd ];
|
buildInputs = [ autoconf automake which procps kbd ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/Makefile.in --replace 'root' '$(id -u)'
|
substituteInPlace src/Makefile.am --replace 'root' '$(id -u)'
|
||||||
substituteInPlace configure --replace '/dev/input' '/tmp'
|
substituteInPlace configure.ac --replace '/dev/input' '/tmp'
|
||||||
sed -i '/chmod u+s/d' src/Makefile.in
|
sed -i '/chmod u+s/d' src/Makefile.am
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preConfigure = "./autogen.sh";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A GNU/Linux keylogger that works!";
|
description = "A GNU/Linux keylogger that works!";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
homepage = https://github.com/kernc/logkeys;
|
homepage = https://github.com/kernc/logkeys;
|
||||||
maintainers = with maintainers; [offline];
|
maintainers = with maintainers; [mikoim offline];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user