Commit 253d76b8 authored by kinzoku-dev's avatar kinzoku-dev
Browse files

tomlq: init at 0.1.6



Update pkgs/by-name/to/tomlq/package.nix

Co-authored-by: default avatarBot_wxt1221 <3264117476@qq.com>

Update pkgs/by-name/to/tomlq/package.nix

Co-authored-by: default avatarAleksana <alexander.huang.y@gmail.com>

Update package.nix
parent a259fd03
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{
  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";
  };
}