nixpkgs/pkgs/tools/filesystems/afsctool/default.nix
2022-06-28 23:18:04 +10:00

34 lines
696 B
Nix

{ 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";
};
}