Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
31 lines
818 B
Nix
31 lines
818 B
Nix
{ lib
|
|
, fetchurl
|
|
, stdenv
|
|
, zlib
|
|
, openssl
|
|
, libuuid
|
|
, pkg-config
|
|
, bzip2
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libewf-legacy";
|
|
version = "20140816";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/libyal/libewf-legacy/releases/download/${finalAttrs.version}/libewf-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-ay0Hj7OGFnm6g5Qv6lHp5gKcN+wuoMN/V0QlbW9wJak=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ zlib openssl libuuid ]
|
|
++ lib.optionals stdenv.hostPlatform.isDarwin [ bzip2 ];
|
|
|
|
meta = {
|
|
description = "Legacy library for support of the Expert Witness Compression Format";
|
|
homepage = "https://sourceforge.net/projects/libewf/";
|
|
license = lib.licenses.lgpl3;
|
|
maintainers = with lib.maintainers; [ d3vil0p3r ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|