Files
nixpkgs/pkgs/by-name/fu/fuse-ext2/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

48 lines
1.0 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
e2fsprogs,
fuse,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fuse-ext2";
version = "0.0.11";
src = fetchFromGitHub {
owner = "alperakcan";
repo = "fuse-ext2";
rev = "v${finalAttrs.version}";
hash = "sha256-VQMftlnd6q1PdwhSIQwjffjnkhupY8MUc8E+p1tgvUM=";
};
patches = [
# Remove references to paths outside the nix store
./remove-impure-paths.patch
# Don't build macOS desktop installer
./darwin-no-installer.patch
];
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
e2fsprogs
fuse
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=incompatible-function-pointer-types";
meta = with lib; {
description = "FUSE module to mount ext2, ext3 and ext4 with read write support";
homepage = "https://github.com/alperakcan/fuse-ext2";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ emilytrau ];
platforms = platforms.unix;
mainProgram = "fuse-ext2";
};
})