depot/third_party/nixpkgs/pkgs/development/tools/misc/devspace/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

42 lines
987 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
, testers
, devspace
}:
buildGoModule rec {
pname = "devspace";
version = "6.3.11";
src = fetchFromGitHub {
owner = "devspace-sh";
repo = "devspace";
rev = "v${version}";
hash = "sha256-g+M34y7GTbQ8FyO4BieNYgo68ZE5x3hyXiMJrx6Nqug=";
};
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;
passthru.tests.version = testers.testVersion {
package = devspace;
};
meta = with lib; {
description = "An 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 = licenses.asl20;
maintainers = with maintainers; [ darkonion0 ];
};
}