mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
253d76b8f4
Update pkgs/by-name/to/tomlq/package.nix Co-authored-by: Bot_wxt1221 <3264117476@qq.com> Update pkgs/by-name/to/tomlq/package.nix Co-authored-by: Aleksana <alexander.huang.y@gmail.com> Update package.nix
27 lines
634 B
Nix
27 lines
634 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "tomlq";
|
|
version = "0.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cryptaliagy";
|
|
repo = "tomlq";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-g8xjz8qCTiulTwcEbLTHYldw4PI+4ZfCOMJs+J6L1C4=";
|
|
};
|
|
|
|
cargoHash = "sha256-/cepTVJoBM1LYZkFpH9UCvE74cSszHDaeThsZksQ1P8=";
|
|
|
|
meta = {
|
|
description = "Tool for getting data from TOML files on the command line";
|
|
homepage = "https://github.com/cryptaliagy/tomlq";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ kinzoku ];
|
|
mainProgram = "tq";
|
|
};
|
|
}
|