2022-12-17 10:02:37 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
2023-11-16 04:20:00 +00:00
|
|
|
, testers
|
|
|
|
, devspace
|
2022-04-27 09:35:20 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "devspace";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "6.3.13";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2023-11-16 04:20:00 +00:00
|
|
|
owner = "devspace-sh";
|
2022-04-27 09:35:20 +00:00
|
|
|
repo = "devspace";
|
|
|
|
rev = "v${version}";
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-MWFDAyr4oHBe1K9ag5mC3iJAyJgs3ePa6W9//6T2G9A=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = null;
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = devspace;
|
|
|
|
};
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Open-source developer tool for Kubernetes that lets you develop and deploy cloud-native software faster";
|
2022-04-27 09:35:20 +00:00
|
|
|
homepage = "https://devspace.sh/";
|
2023-11-16 04:20:00 +00:00
|
|
|
changelog = "https://github.com/devspace-sh/devspace/releases/tag/v${version}";
|
2022-04-27 09:35:20 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ darkonion0 ];
|
|
|
|
};
|
|
|
|
}
|