json-sort: init at 0.1.1 (#510842)
This commit is contained in:
@@ -1 +1 @@
|
||||
{'dependencies': {'vim-addon-manager': {}}}
|
||||
{"dependencies": {"vim-addon-manager": {}}}
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "json-sort";
|
||||
version = "0.1.1";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "drupol";
|
||||
repo = "json-sort";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-U88bP1jVk5imwvSSxN16yaelzq1OhztgUA3MK4FbGnY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-jnuy00eE0/AaZXURjGRt7WPTLcVY4Hl45AuoR04gqRY=";
|
||||
|
||||
dontUseCargoParallelTests = true;
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Command-line tool to sort JSON object keys in-place, preserving formatting and comments";
|
||||
homepage = "https://github.com/drupol/json-sort";
|
||||
license = lib.licenses.eupl12;
|
||||
mainProgram = "json-sort";
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user