60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
40 lines
838 B
Nix
40 lines
838 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, testers
|
|
, kool
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "kool";
|
|
version = "3.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kool-dev";
|
|
repo = "kool";
|
|
rev = version;
|
|
hash = "sha256-+vdizU2/q2nrEanpRPy1scgfTYh/I7feW4jz8efelWY=";
|
|
};
|
|
|
|
vendorHash = "sha256-PmS96KVhe9TDmtYBx2hROLCbGMQ0OY3MN405dUmxPzk=";
|
|
|
|
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";
|
|
homepage = "https://kool.dev";
|
|
changelog = "https://github.com/kool-dev/kool/releases/tag/${src.rev}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|