diff --git a/pkgs/tools/graphics/steghide/default.nix b/pkgs/tools/graphics/steghide/default.nix new file mode 100644 index 000000000000..74011917d5fb --- /dev/null +++ b/pkgs/tools/graphics/steghide/default.nix @@ -0,0 +1,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; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 20f3f144d80a..887b29613371 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22760,6 +22760,8 @@ with pkgs; stduuid = callPackage ../development/libraries/stduuid { }; + steghide = callPackage ../tools/graphics/steghide { }; + stegsolve = callPackage ../tools/graphics/stegsolve { }; StormLib = callPackage ../development/libraries/StormLib { };