diff options
author | Jaka Hudoklin <jakahudoklin@gmail.com> | 2014-09-04 19:10:46 +0200 |
---|---|---|
committer | Jaka Hudoklin <jakahudoklin@gmail.com> | 2014-09-04 19:10:56 +0200 |
commit | 4d104542e987533f61cf6fb70cb970fc94e367b9 (patch) | |
tree | e1f16bcc560cf6b1006e4c3c2e0019134d8d9ddb /pkgs/tools/security/logkeys | |
parent | 316a4981b3eb822adaa9e6f5e83344db5ab0b17b (diff) |
Add keylogs, a GNU/Linux keylogger that works
Diffstat (limited to 'pkgs/tools/security/logkeys')
-rw-r--r-- | pkgs/tools/security/logkeys/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/security/logkeys/default.nix b/pkgs/tools/security/logkeys/default.nix new file mode 100644 index 0000000000000..ae7fa2316bcbc --- /dev/null +++ b/pkgs/tools/security/logkeys/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchgit, which, procps, kbd }: + +stdenv.mkDerivation rec { + name = "logkeys-${version}"; + version = "5ef6b0dcb9e3"; + + src = fetchgit { + url = "https://code.google.com/p/logkeys/"; + rev = "5ef6b0dcb9e38e6137ad1579d624ec12107c56c3"; + sha256 = "02p0l92l0fq069g31ks6xbqavzxa9njj9460vw2jsa7livcn2z9d"; + }; + + buildInputs = [ which procps kbd ]; + + postPatch = '' + substituteInPlace src/Makefile.in --replace 'root' '$(id -u)' + substituteInPlace configure --replace '/dev/input' '/tmp' + ''; + + meta = with stdenv.lib; { + description = "A GNU/Linux keylogger that works!"; + license = licenses.gpl3; + homepage = http://code.google.com/p/logkeys/; + maintainers = with maintainers; [offline]; + platforms = with platforms; linux; + }; +} |