2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fuse3, bzip2, zlib, attr, cmake }:
|
2019-08-15 06:08:12 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 06:08:12 +01:00
|
|
|
pname = "apfs-fuse-unstable";
|
|
|
|
version = "2019-07-23";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sgan81";
|
|
|
|
repo = "apfs-fuse";
|
|
|
|
rev = "309ecb030f38edac4c10fa741a004c5eb7a23e15";
|
|
|
|
sha256 = "0wq6rlqi00m5dp5gbzy65i1plm40j6nsm7938zvfgx5laal4wzr2";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ fuse3 bzip2 zlib attr ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2020-10-09 14:55:56 +01:00
|
|
|
postFixup = ''
|
|
|
|
ln -s $out/bin/apfs-fuse $out/bin/mount.fuse.apfs-fuse
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-08-15 06:08:12 +01:00
|
|
|
homepage = "https://github.com/sgan81/apfs-fuse";
|
|
|
|
description = "FUSE driver for APFS (Apple File System)";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ ealasu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|