mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
tjq: init at 0.0.1 (#561730)
This commit is contained in:
32
pkgs/by-name/tj/tjq/package.nix
Normal file
32
pkgs/by-name/tj/tjq/package.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "tjq";
|
||||
version = "0.0.1";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alpaylan";
|
||||
repo = "tjq";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-O2Uell85xd9+WJYgB7zEI3mPxaAcUlsoXh6UGvTXZhs=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-T6wuYWv6l8w5rRtdWs0DWi61j8aDbXMwtv9nQvlC7CM=";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Giving types to jq";
|
||||
homepage = "https://github.com/alpaylan/tjq";
|
||||
changelog = "https://github.com/alpaylan/tjq/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ethancedwards8 ];
|
||||
mainProgram = "tjq";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user