mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
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
This commit is contained in:
parent
a259fd03ae
commit
253d76b8f4
26
pkgs/by-name/to/tomlq/package.nix
Normal file
26
pkgs/by-name/to/tomlq/package.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue