Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
972 B
Nix
52 lines
972 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
|
|
'';
|
|
|
|
# std::binary_function and std::unary_function has been removed in c++17
|
|
makeFlags = lib.optionals stdenv.cc.isClang [
|
|
"CXXFLAGS=-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/museoa/steghide";
|
|
description = "Open source steganography program";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ ];
|
|
platforms = with platforms; unix;
|
|
mainProgram = "steghide";
|
|
};
|
|
})
|