about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/graphics/steghide/default.nix
blob: 74011917d5fbf0f2cf960be2135fe0e5c2ad83c6 (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
, fetchFromGitHub
, autoreconfHook
, libjpeg
, libmcrypt
, libmhash
, zlib
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "steghide";
  version = "0.5.1.1";

  src = fetchFromGitHub {
    owner = "museoa";
    repo = "steghide";
    rev = finalAttrs.version;
    hash = "sha256-uUXEipIUfu9AbG7Ekz+25JkWSEGzqA7sJHZqezLzUto=";
  };

  nativeBuildInputs = [
    autoreconfHook
  ];

  buildInputs = [
     libjpeg
     libmcrypt
     libmhash
     zlib
  ];

  postPatch = ''
    cd src
  '';

  meta = with lib; {
    homepage = "https://github.com/museoa/steghide";
    description = "Open source steganography program";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ AndersonTorres ];
    platforms = with platforms; unix;
  };
})