mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
943da8b1a7
Fixes CVE-2023-33552 and CVE-2023-33551. Changelog: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/ChangeLog?h=v1.7
29 lines
866 B
Nix
29 lines
866 B
Nix
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, fuse, util-linux, lz4, zlib
|
|
, fuseSupport ? stdenv.isLinux
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "erofs-utils";
|
|
version = "1.7";
|
|
outputs = [ "out" "man" ];
|
|
|
|
src = fetchurl {
|
|
url =
|
|
"https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/erofs-utils-${version}.tar.gz";
|
|
hash = "sha256-tutSm7Qj6y3XecnanCYyhVSItLkeI1U6Mc4j8Rycziw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ util-linux lz4 zlib ]
|
|
++ lib.optionals fuseSupport [ fuse ];
|
|
|
|
configureFlags = lib.optionals fuseSupport [ "--enable-fuse" ];
|
|
|
|
meta = with lib; {
|
|
description = "Userspace utilities for linux-erofs file system";
|
|
license = with licenses; [ gpl2Plus ];
|
|
maintainers = with maintainers; [ ehmry nikstur ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|