nixpkgs/pkgs/tools/filesystems/afsctool/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
674 B
Nix
Raw Normal View History

2022-06-06 00:30:42 +01:00
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, cmake
, git
, zlib
, sparsehash
}:
stdenv.mkDerivation rec {
pname = "afsctool";
2024-11-13 06:02:41 +00:00
version = "1.7.3";
2022-06-06 00:30:42 +01:00
src = fetchFromGitHub {
owner = "RJVB";
repo = pname;
2024-11-13 06:02:41 +00:00
rev = "v${version}";
hash = "sha256-cZ0P9cygj+5GgkDRpQk7P9z8zh087fpVfrYXMRRVUAI=";
2022-06-06 00:30:42 +01:00
};
nativeBuildInputs = [ pkg-config cmake git ];
2024-11-13 06:04:05 +00:00
buildInputs = [ zlib sparsehash ];
2022-06-06 00:30:42 +01:00
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";
};
}