about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/stegseek/default.nix
blob: f898b5eab0e6ae8ed6c45dc6bca5ab34f9b5f97d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ lib, stdenv
, cmake
, fetchFromGitHub
, libjpeg
, libmcrypt
, libmhash
, libtool
, zlib
}:

stdenv.mkDerivation rec {
  pname = "stegseek";
  version = "0.6";

  src = fetchFromGitHub {
    owner = "RickdeJager";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-B5oJffYOYfsH0YRq/Bq0ciIlCsCONyScFBjP7a1lIzo=";
  };

  nativeBuildInputs = [ cmake ];

  buildInputs = [
    libjpeg
    libmcrypt
    libmhash
    libtool
    zlib
  ];

  doCheck = true;

  meta = with lib; {
    description = "Tool to crack steganography";
    longDescription = ''
      Stegseek is a lightning fast steghide cracker that can be
      used to extract hidden data from files.
    '';
    homepage = "https://github.com/RickdeJager/stegseek";
    license = with licenses; [ gpl2Only ];
    maintainers = with maintainers; [ fab ];
  };
}