depot/third_party/nixpkgs/pkgs/development/tools/misc/devspace/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

42 lines
984 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
, testers
, devspace
}:
buildGoModule rec {
pname = "devspace";
version = "6.3.12";
src = fetchFromGitHub {
owner = "devspace-sh";
repo = "devspace";
rev = "v${version}";
hash = "sha256-tnkMXB0BWavSZF3HEdvtCE42zgcHNRGI5CdK3RDvv9c=";
};
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 = "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 ];
};
}