nixpkgs/pkgs/tools/filesystems/apfs-fuse/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
812 B
Nix
Raw Normal View History

{ 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";
version = "2020-09-28";
2019-08-15 07:08:12 +02:00
src = fetchFromGitHub {
owner = "sgan81";
repo = "apfs-fuse";
rev = "ee71aa5c87c0831c1ae17048951fe9cd7579c3db";
sha256 = "0wvsx708km1lnhghny5y69k694x0zy8vlbndswkb7sq81j1r6kwx";
2019-08-15 07:08:12 +02:00
fetchSubmodules = true;
};
buildInputs = [ fuse3 bzip2 zlib attr ];
nativeBuildInputs = [ cmake ];
postFixup = ''
ln -s $out/bin/apfs-fuse $out/bin/mount.fuse.apfs-fuse
'';
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)";
license = licenses.gpl2Plus;
2019-08-15 07:08:12 +02:00
maintainers = with maintainers; [ ealasu ];
platforms = platforms.linux;
};
}