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