Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
988 B
Nix
44 lines
988 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
testers,
|
|
devspace,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "devspace";
|
|
version = "6.3.18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "devspace-sh";
|
|
repo = "devspace";
|
|
rev = "v${version}";
|
|
hash = "sha256-33uhg2OY0owgP1rzdxcZzpN0cuYPRfX8vcwCJF9MVoo=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X main.version=${version}"
|
|
];
|
|
|
|
# Check are disable since they required a working K8S cluster
|
|
# TODO: add a nixosTest to be able to perform the package check
|
|
doCheck = false;
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = devspace;
|
|
};
|
|
|
|
meta = {
|
|
description = "Open-source developer tool for Kubernetes that lets you develop and deploy cloud-native software faster";
|
|
homepage = "https://devspace.sh/";
|
|
changelog = "https://github.com/devspace-sh/devspace/releases/tag/v${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ darkonion0 ];
|
|
};
|
|
}
|