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";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "1.2.1";
|
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;
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "1vb4mxsb59g29x7l22cffsqa8x743sra4j5zbmx89hjwpwm9vvcg";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
buildInputs = [ autoreconfHook pkg-config 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;
|
|
|
|
};
|
|
|
|
}
|