2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fuse3, bzip2, zlib, attr, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "apfs-fuse-unstable";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "2023-01-04";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sgan81";
|
|
|
|
repo = "apfs-fuse";
|
2023-03-04 12:14:45 +00:00
|
|
|
rev = "1f041d7af5df5423832e54e9f358fd9234773fcc";
|
|
|
|
hash = "sha256-EmhCvIwyVJvib/ZHzCsULh8bOjhzKRu47LojX+L40qQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ fuse3 bzip2 zlib attr ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2020-10-11 12:50:04 +00:00
|
|
|
postFixup = ''
|
|
|
|
ln -s $out/bin/apfs-fuse $out/bin/mount.fuse.apfs-fuse
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/sgan81/apfs-fuse";
|
|
|
|
description = "FUSE driver for APFS (Apple File System)";
|
2021-03-23 19:22:30 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ ealasu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|