mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
34 lines
696 B
Nix
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";
|
|
};
|
|
}
|