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";
|
2021-03-21 05:20:18 +00:00
|
|
|
version = "2020-09-28";
|
2019-08-15 06:08:12 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sgan81";
|
|
|
|
repo = "apfs-fuse";
|
2021-03-21 05:20:18 +00:00
|
|
|
rev = "ee71aa5c87c0831c1ae17048951fe9cd7579c3db";
|
|
|
|
sha256 = "0wvsx708km1lnhghny5y69k694x0zy8vlbndswkb7sq81j1r6kwx";
|
2019-08-15 06:08:12 +01:00
|
|
|
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)";
|
2021-03-21 05:20:18 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2019-08-15 06:08:12 +01:00
|
|
|
maintainers = with maintainers; [ ealasu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|