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