afsctool: init at 1.7.0

This commit is contained in:
Stanislaw Pitucha 2022-06-06 09:30:42 +10:00 committed by Stanisław Pitucha
parent 78520c1fff
commit 3afa315b1b
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, cmake
, git
, zlib
, sparsehash
, CoreServices
}:
stdenv.mkDerivation rec {
pname = "afsctool";
version = "1.7.0";
src = fetchFromGitHub {
owner = "RJVB";
repo = pname;
rev = version;
hash = "sha256-rqca7gpH46hk4MEPMHqYnteYJnGpLS/gu4XP7xWqDzo=";
};
nativeBuildInputs = [ pkg-config cmake git ];
buildInputs = [ zlib sparsehash CoreServices ];
meta = with lib; {
description = "Utility that allows end-users to leverage HFS+/APFS compression";
license = licenses.unfree;
maintainers = [ maintainers.viraptor ];
platforms = platforms.darwin;
homepage = "https://github.com/RJVB/afsctool";
};
}

View file

@ -1049,6 +1049,10 @@ with pkgs;
afpfs-ng = callPackage ../tools/filesystems/afpfs-ng { };
afsctool = callPackage ../tools/filesystems/afsctool {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
agate = callPackage ../servers/gemini/agate {
inherit (darwin.apple_sdk.frameworks) Security;
};