Files
2026-04-22 22:47:03 +00:00

44 lines
1.0 KiB
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
testers,
devspace,
}:
buildGoModule (finalAttrs: {
pname = "devspace";
version = "6.3.21";
src = fetchFromGitHub {
owner = "devspace-sh";
repo = "devspace";
rev = "v${finalAttrs.version}";
hash = "sha256-QCO1faP4V0fqznPyMFnmAI+N0VE9tECwSXdg6xowocM=";
};
vendorHash = null;
ldflags = [
"-s"
"-w"
"-X main.version=${finalAttrs.version}"
];
# Check are disable since they required a working K8S cluster
# TODO: add a nixosTest to be able to perform the package check
doCheck = false;
passthru.tests.version = testers.testVersion {
package = devspace;
};
meta = {
description = "Open-source developer tool for Kubernetes that lets you develop and deploy cloud-native software faster";
homepage = "https://devspace.sh/";
changelog = "https://github.com/devspace-sh/devspace/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ darkonion0 ];
};
})