about summary refs log tree commit diff
path: root/pkgs/by-name/li
diff options
context:
space:
mode:
authorD3vil0p3r <vozaanthony@gmail.com>2024-02-11 03:12:53 +0100
committerD3vil0p3r <vozaanthony@gmail.com>2024-02-11 03:18:34 +0100
commit689507e1e0ec674cc8364a21e294f1e0910c24b0 (patch)
treeec0e41b17fdc94df9a63d79595afdce5220d8da0 /pkgs/by-name/li
parente72d6a1d3facbcbbc771ca53f8f31c07838825b3 (diff)
downloadnixlib-689507e1e0ec674cc8364a21e294f1e0910c24b0.tar
nixlib-689507e1e0ec674cc8364a21e294f1e0910c24b0.tar.gz
nixlib-689507e1e0ec674cc8364a21e294f1e0910c24b0.tar.bz2
nixlib-689507e1e0ec674cc8364a21e294f1e0910c24b0.tar.lz
nixlib-689507e1e0ec674cc8364a21e294f1e0910c24b0.tar.xz
nixlib-689507e1e0ec674cc8364a21e294f1e0910c24b0.tar.zst
nixlib-689507e1e0ec674cc8364a21e294f1e0910c24b0.zip
libewf-legacy: migrate to by-name
Diffstat (limited to 'pkgs/by-name/li')
-rw-r--r--pkgs/by-name/li/libewf-legacy/package.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/li/libewf-legacy/package.nix b/pkgs/by-name/li/libewf-legacy/package.nix
new file mode 100644
index 000000000000..4cfbceb0089c
--- /dev/null
+++ b/pkgs/by-name/li/libewf-legacy/package.nix
@@ -0,0 +1,32 @@
+{ lib
+, fetchurl
+, fetchpatch
+, stdenv
+, zlib
+, openssl
+, libuuid
+, pkg-config
+, bzip2
+}:
+
+stdenv.mkDerivation rec {
+  pname = "libewf-ewf";
+  version = "20140814";
+
+  src = fetchurl {
+    url = "https://github.com/libyal/libewf-legacy/releases/download/${version}/libewf-${version}.tar.gz";
+    hash = "sha256-OM3QXwnaIDeo66UNjzmu6to53SxgCMn/rE9VTPlX5BQ=";
+  };
+
+  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;
+  };
+}