nixpkgs/pkgs/tools/filesystems/afsctool/default.nix
2024-11-12 22:04:05 -08:00

33 lines
674 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, cmake
, git
, zlib
, sparsehash
}:
stdenv.mkDerivation rec {
pname = "afsctool";
version = "1.7.3";
src = fetchFromGitHub {
owner = "RJVB";
repo = pname;
rev = "v${version}";
hash = "sha256-cZ0P9cygj+5GgkDRpQk7P9z8zh087fpVfrYXMRRVUAI=";
};
nativeBuildInputs = [ pkg-config cmake git ];
buildInputs = [ zlib sparsehash ];
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";
};
}