2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, fuse, libuuid, lz4 }:
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "erofs-utils";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "1.5";
|
2021-01-05 17:05:55 +00:00
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url =
|
|
|
|
"https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git";
|
|
|
|
rev = "v" + version;
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-vMWAmGMJp0XDuc4sbo6Y7gfCQVAo4rETea0Tkdbg82U=";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
2021-10-01 09:20:50 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ fuse libuuid lz4 ];
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
configureFlags = [ "--enable-fuse" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-05 17:05:55 +00:00
|
|
|
description = "Userspace utilities for linux-erofs file system";
|
|
|
|
license = with licenses; [ gpl2 ];
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|