Merge pull request #176485 from viraptor/afsctool-init

afsctool: init at 1.7.0
This commit is contained in:
Stanisław Pitucha 2022-09-05 16:45:13 +10:00 committed by GitHub
commit 76daf3b9da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -1160,6 +1160,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;
};