From a02a08237640169d6d30f6c106d0a94d07987a6e Mon Sep 17 00:00:00 2001 From: D3vil0p3r Date: Mon, 12 Feb 2024 20:12:33 +0100 Subject: [PATCH] libewf-legacy: fix pname --- pkgs/by-name/li/libewf-legacy/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/li/libewf-legacy/package.nix b/pkgs/by-name/li/libewf-legacy/package.nix index 4cfbceb0089c..f6505afdacec 100644 --- a/pkgs/by-name/li/libewf-legacy/package.nix +++ b/pkgs/by-name/li/libewf-legacy/package.nix @@ -9,12 +9,12 @@ , bzip2 }: -stdenv.mkDerivation rec { - pname = "libewf-ewf"; +stdenv.mkDerivation (finalAttrs: { + pname = "libewf-legacy"; version = "20140814"; src = fetchurl { - url = "https://github.com/libyal/libewf-legacy/releases/download/${version}/libewf-${version}.tar.gz"; + url = "https://github.com/libyal/libewf-legacy/releases/download/${finalAttrs.version}/libewf-${finalAttrs.version}.tar.gz"; hash = "sha256-OM3QXwnaIDeo66UNjzmu6to53SxgCMn/rE9VTPlX5BQ="; }; @@ -29,4 +29,4 @@ stdenv.mkDerivation rec { maintainers = with lib.maintainers; [ d3vil0p3r ]; platforms = lib.platforms.unix; }; -} +})