Merge pull request #329830 from CnTeng/kulala-fmt
kulala-fmt: init at 1.1.0
This commit is contained in:
commit
3862db8a01
@ -3843,6 +3843,12 @@
|
||||
githubId = 718298;
|
||||
name = "Michael Livshin";
|
||||
};
|
||||
CnTeng = {
|
||||
name = "CnTeng";
|
||||
email = "me@snakepi.xyz";
|
||||
github = "CnTeng";
|
||||
githubId = 56501688;
|
||||
};
|
||||
CobaltCause = {
|
||||
name = "Charles Hall";
|
||||
email = "charles@computer.surgery";
|
||||
|
36
pkgs/by-name/ku/kulala-fmt/package.nix
Normal file
36
pkgs/by-name/ku/kulala-fmt/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kulala-fmt";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mistweaverco";
|
||||
repo = "kulala-fmt";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Fxxc8dJMiL7OVoovOt58vVaUloRjJX5hc8xSlzkwVc8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-uA29P6bcZNfxWsTfzsADBIqYgyfVX8dY8y70ZJKieas=";
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/mistweaverco/kulala-fmt/cmd/kulalafmt.VERSION=${version}"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Opinionated .http and .rest files linter and formatter";
|
||||
homepage = "https://github.com/mistweaverco/kulala-fmt";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ CnTeng ];
|
||||
mainProgram = "kulala-fmt";
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user