nixpkgs/pkgs/by-name/de/devspace/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
984 B
Nix
Raw Normal View History

2022-12-01 17:43:23 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
2023-11-04 03:21:43 +00:00
, testers
, devspace
}:
buildGoModule rec {
pname = "devspace";
2024-10-10 07:34:17 +00:00
version = "6.3.14";
src = fetchFromGitHub {
2023-11-04 03:21:43 +00:00
owner = "devspace-sh";
repo = "devspace";
rev = "v${version}";
2024-10-10 07:34:17 +00:00
hash = "sha256-Qdx7x42QKfyEu2PB350mek2MwYO/ClFAwKC9UHftaKE=";
};
vendorHash = 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;
2023-11-04 03:21:43 +00:00
passthru.tests.version = testers.testVersion {
package = devspace;
};
meta = with lib; {
2023-11-04 03:21:43 +00:00
description = "Open-source developer tool for Kubernetes that lets you develop and deploy cloud-native software faster";
homepage = "https://devspace.sh/";
2023-11-04 03:21:43 +00:00
changelog = "https://github.com/devspace-sh/devspace/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ darkonion0 ];
};
}