16 src = fetchFromGitHub {
20 hash = "sha256-9iPr9VhN60B6kBikdEIFAs5mMH+VcmnjGhLuIa3A2JU=";
23 vendorHash = "sha256-6O1T9aOCymYXGAIR/DQBWfjc2sCyU/nZu9b1bIuXEps=";
25 subPackages = [ "cmd/vfkit" ];
30 "-X github.com/crc-org/vfkit/pkg/cmdline.gitVersion=${src.rev}"
39 (darwinMinVersionHook "11")
43 codesign --entitlements vf.entitlements -f -s - $out/bin/vfkit
47 version = testers.testVersion { package = vfkit; };
51 description = "Simple command line tool to start VMs through the macOS Virtualization framework";
52 homepage = "https://github.com/crc-org/vfkit";
53 license = lib.licenses.asl20;
54 maintainers = with lib.maintainers; [ sarcasticadmin ];
55 platforms = lib.platforms.darwin;
56 sourceProvenance = [ lib.sourceTypes.fromSource ];
57 mainProgram = "vfkit";