depot/third_party/nixpkgs/pkgs/os-specific/linux/erofs-utils/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

25 lines
750 B
Nix

{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, fuse, libuuid, lz4 }:
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 = [ fuse libuuid lz4 ];
configureFlags = [ "--enable-fuse" ];
meta = with lib; {
description = "Userspace utilities for linux-erofs file system";
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ ehmry ];
platforms = platforms.linux;
};
}