12 stdenv.mkDerivation rec {
17 url = "https://github.com/libyal/libewf/releases/download/${version}/libewf-experimental-${version}.tar.gz";
18 hash = "sha256-7AjUEaXasOzJV9ErZK2a4HMTaqhcBbLKd8M+A5SbKrc=";
21 nativeBuildInputs = [ pkg-config ];
26 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ bzip2 ];
28 # cannot run test program while cross compiling
29 configureFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
30 "ac_cv_openssl_xts_duplicate_keys=yes"
34 description = "Library for support of the Expert Witness Compression Format";
35 homepage = "https://sourceforge.net/projects/libewf/";
36 license = lib.licenses.lgpl3;
37 maintainers = [ lib.maintainers.raskin ];
38 platforms = lib.platforms.unix;