9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
28 lines
857 B
Nix
28 lines
857 B
Nix
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, fuse, util-linux, lz4
|
|
, fuseSupport ? stdenv.isLinux
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "erofs-utils";
|
|
version = "1.6";
|
|
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";
|
|
sha256 = "sha256-2/Gtrv8buFMrKacsip4ZGTjJOJlGdw3HY9PFnm8yBXE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ util-linux lz4 ]
|
|
++ 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;
|
|
};
|
|
}
|