acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / ku / kulala-fmt / package.nix
blob204aaa00ad32b6e56574ec9dbe3ebf46adce82df
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "kulala-fmt";
9   version = "1.4.0";
11   src = fetchFromGitHub {
12     owner = "mistweaverco";
13     repo = "kulala-fmt";
14     rev = "v${version}";
15     hash = "sha256-yq7DMrt+g5wM/tynI7Cf6MBJs/d+fP3IppndKnTJMTw=";
16   };
18   vendorHash = "sha256-GazDEm/qv0nh8vYT+Tf0n4QDGHlcYtbMIj5rlZBvpKo=";
20   CGO_ENABLED = 0;
22   ldflags = [
23     "-s"
24     "-w"
25     "-X github.com/mistweaverco/kulala-fmt/cmd/kulalafmt.VERSION=${version}"
26   ];
28   meta = {
29     description = "Opinionated .http and .rest files linter and formatter";
30     homepage = "https://github.com/mistweaverco/kulala-fmt";
31     license = lib.licenses.mit;
32     maintainers = with lib.maintainers; [ CnTeng ];
33     mainProgram = "kulala-fmt";
34     platforms = lib.platforms.all;
35   };