default.nix (894B)
1 { 2 lib, 3 stdenv, 4 buildGoModule, 5 fetchFromGitHub, 6 writableTmpDirAsHomeHook, 7 }: 8 9 buildGoModule rec { 10 pname = "finch"; 11 version = "1.7.0"; 12 13 src = fetchFromGitHub { 14 owner = "runfinch"; 15 repo = "finch"; 16 tag = "v${version}"; 17 hash = "sha256-Ud7mOURQ0imMDfS4fLVagFlhrj0MEaQAKcKDOD1CQhQ="; 18 fetchSubmodules = true; 19 }; 20 21 vendorHash = "sha256-Ct6V1fTuf8dYHagDElYuxr0PW07JQp5sdzRVCrX9BbM="; 22 23 subPackages = [ "cmd/finch" ]; 24 25 ldflags = [ "-X github.com/runfinch/finch/pkg/version.Version=${version}" ]; 26 27 nativeCheckInputs = [ writableTmpDirAsHomeHook ]; 28 29 checkFlags = [ "-skip=TestVersionAction_run" ]; 30 31 meta = { 32 description = "Client for container development"; 33 homepage = "https://github.com/runfinch/finch"; 34 license = lib.licenses.asl20; 35 maintainers = [ lib.maintainers.sikmir ]; 36 platforms = lib.platforms.darwin; 37 skip.ci = true; 38 }; 39 }