Merge pull request #176485 from viraptor/afsctool-init
afsctool: init at 1.7.0
This commit is contained in:
commit
76daf3b9da
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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue