depot/third_party/nixpkgs/pkgs/development/tools/misc/kool/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

41 lines
864 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
, testers
, kool
}:
buildGoModule rec {
pname = "kool";
version = "3.3.0";
src = fetchFromGitHub {
owner = "kool-dev";
repo = "kool";
rev = version;
hash = "sha256-AbE0MT55LQgDY/WZRs+kCfreLYtSyzmXkYIQmJC4Hbo=";
};
vendorHash = "sha256-wzTsd2ITwnPFc85bXoZLLb9wKvHYOgnb1FGiFXLkkiE=";
ldflags = [
"-s"
"-w"
"-X=kool-dev/kool/commands.version=${version}"
];
passthru.tests = {
version = testers.testVersion {
package = kool;
};
};
meta = with lib; {
description = "From local development to the cloud: development workflow made easy";
mainProgram = "kool";
homepage = "https://kool.dev";
changelog = "https://github.com/kool-dev/kool/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}