nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 pkg-config,
6 cmake,
7 git,
8 zlib,
9 sparsehash,
10}:
11
12stdenv.mkDerivation rec {
13 pname = "afsctool";
14 version = "1.7.3";
15
16 src = fetchFromGitHub {
17 owner = "RJVB";
18 repo = "afsctool";
19 tag = "v${version}";
20 hash = "sha256-cZ0P9cygj+5GgkDRpQk7P9z8zh087fpVfrYXMRRVUAI=";
21 };
22
23 nativeBuildInputs = [
24 pkg-config
25 cmake
26 git
27 ];
28 buildInputs = [
29 zlib
30 sparsehash
31 ];
32
33 meta = {
34 description = "Utility that allows end-users to leverage HFS+/APFS compression";
35 license = lib.licenses.unfree;
36 maintainers = with lib.maintainers; [ viraptor ];
37 platforms = lib.platforms.darwin;
38 homepage = "https://github.com/RJVB/afsctool";
39 };
40}