nixpkgs/pkgs/by-name/to/tomlq/package.nix
kinzoku-dev 253d76b8f4 tomlq: init at 0.1.6
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
2024-10-05 12:31:23 -04:00

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";
};
}