1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5 testers,
6 devspace,
7}:
8
9buildGoModule rec {
10 pname = "devspace";
11 version = "6.3.15";
12
13 src = fetchFromGitHub {
14 owner = "devspace-sh";
15 repo = "devspace";
16 rev = "v${version}";
17 hash = "sha256-aD7A9GGFnX1w5MehmhqYE+wEREASyKFxusE5GFFgwbs=";
18 };
19
20 vendorHash = null;
21
22 ldflags = [
23 "-s"
24 "-w"
25 "-X main.version=${version}"
26 ];
27
28 # Check are disable since they required a working K8S cluster
29 # TODO: add a nixosTest to be able to perform the package check
30 doCheck = false;
31
32 passthru.tests.version = testers.testVersion {
33 package = devspace;
34 };
35
36 meta = {
37 description = "Open-source developer tool for Kubernetes that lets you develop and deploy cloud-native software faster";
38 homepage = "https://devspace.sh/";
39 changelog = "https://github.com/devspace-sh/devspace/releases/tag/v${version}";
40 license = lib.licenses.asl20;
41 maintainers = with lib.maintainers; [ darkonion0 ];
42 };
43}