a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
36 lines
894 B
Nix
36 lines
894 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "devspace";
|
|
version = "6.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "loft-sh";
|
|
repo = "devspace";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-V/LaK4pzML5tYaT5YBMsYgzGzsoJ6tkAOo2mGlEkJWQ=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|