nixpkgs/pkgs/by-name/li/libewf-legacy/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
805 B
Nix
Raw Normal View History

2024-01-02 20:18:54 +00:00
{ lib
, fetchurl
, stdenv
, zlib
, openssl
, libuuid
, pkg-config
, bzip2
}:
2024-02-12 19:12:33 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "libewf-legacy";
2024-05-15 18:05:30 +01:00
version = "20140816";
2024-01-02 20:18:54 +00:00
src = fetchurl {
2024-02-12 19:12:33 +00:00
url = "https://github.com/libyal/libewf-legacy/releases/download/${finalAttrs.version}/libewf-${finalAttrs.version}.tar.gz";
2024-05-15 18:05:30 +01:00
hash = "sha256-ay0Hj7OGFnm6g5Qv6lHp5gKcN+wuoMN/V0QlbW9wJak=";
2024-01-02 20:18:54 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zlib openssl libuuid ]
++ lib.optionals stdenv.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;
};
2024-02-12 19:12:33 +00:00
})