7bc014aa9c
GitOrigin-RevId: c97e777ff06fcb8d37dcdf5e21e9eff1f34f0e90
37 lines
898 B
Nix
37 lines
898 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "devspace";
|
|
version = "6.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "loft-sh";
|
|
repo = "devspace";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-pbI49oklxTu02YNIA1uxcDqWwGf3LaKipErDHCVxRRc=";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X main.version=${version}"
|
|
];
|
|
|
|
# Check are disable since they requiered a working K8S cluster
|
|
# TODO: add a nixosTest to be able to perform the package check
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "DevSpace is an open-source developer tool for Kubernetes that lets you develop and deploy cloud-native software faster";
|
|
homepage = "https://devspace.sh/";
|
|
changelog = "https://github.com/loft-sh/devspace/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ darkonion0 ];
|
|
};
|
|
}
|