afsctool: init at 1.7.0
This commit is contained in:
parent
78520c1fff
commit
3afa315b1b
2 changed files with 37 additions and 0 deletions
33
pkgs/tools/filesystems/afsctool/default.nix
Normal file
33
pkgs/tools/filesystems/afsctool/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue