fvs2: init at 0.1.5

This commit is contained in:
Gliczy
2026-04-26 22:45:04 +02:00
parent 10cae49748
commit ac41d890a9
+41
View File
@@ -0,0 +1,41 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
let
core = fetchFromGitHub {
owner = "fvs-lab";
repo = "core";
tag = "v0.0.1";
hash = "sha256-IBNNa5LGjtPNWhI0PC0NX8rK8z2LnfzOpKpDE1TZQhw=";
};
in
buildGoModule (finalAttrs: {
pname = "fvs2";
version = "0.1.5";
src = fetchFromGitHub {
owner = "fvs-lab";
repo = "fvs2";
tag = "v${finalAttrs.version}";
hash = "sha256-YFtHWtkAPxHT2BqJyyKpPPwkrYyDoFEHq76mNPczJjI=";
};
vendorHash = "sha256-onx9DxaDcNwDWXfSNSugOG9WoLG918b2A1KJIaeQNpI=";
preBuild = ''
cp -r ${core} ../core
'';
__structuredAttrs = true;
meta = {
description = "Standalone CLI for FVS v2";
homepage = "https://github.com/fvs-lab/fvs2";
license = lib.licenses.mit;
mainProgram = "fvs2";
maintainers = [ lib.maintainers.Gliczy ];
platforms = lib.platforms.linux;
};
})