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
809 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, fuse3, bzip2, zlib, attr, cmake }:
2019-08-15 08:08:12 +03:00
2019-08-14 00:52:01 +03:00
stdenv.mkDerivation {
2019-08-15 08:08:12 +03:00
pname = "apfs-fuse-unstable";
2023-02-27 19:11:39 +03:00
version = "2023-01-04";
2019-08-15 08:08:12 +03:00
src = fetchFromGitHub {
owner = "sgan81";
repo = "apfs-fuse";
2023-02-27 19:11:39 +03:00
rev = "1f041d7af5df5423832e54e9f358fd9234773fcc";
hash = "sha256-EmhCvIwyVJvib/ZHzCsULh8bOjhzKRu47LojX+L40qQ=";
2019-08-15 08:08:12 +03: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 08:08:12 +03:00
homepage = "https://github.com/sgan81/apfs-fuse";
description = "FUSE driver for APFS (Apple File System)";
license = licenses.gpl2Plus;
2019-08-15 08:08:12 +03:00
maintainers = with maintainers; [ ealasu ];
platforms = platforms.linux;
};
}