mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
46 lines
802 B
Nix
46 lines
802 B
Nix
{ 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;
|
|
mainProgram = "steghide";
|
|
};
|
|
})
|