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