nixpkgs/pkgs/by-name/te/tex-fmt/package.nix

28 lines
625 B
Nix
Raw Permalink Normal View History

2024-09-14 06:02:16 -06:00
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "tex-fmt";
2024-11-15 04:26:02 -07:00
version = "0.4.7";
2024-09-14 06:02:16 -06:00
src = fetchFromGitHub {
owner = "WGUNDERWOOD";
repo = "tex-fmt";
rev = "refs/tags/v${version}";
2024-11-15 04:26:02 -07:00
hash = "sha256-jVrd3yZ07+ppsdt+8sNKX1rdmU+UiRCyx80EMXdoK54=";
2024-09-14 06:02:16 -06:00
};
2024-11-15 04:26:02 -07:00
cargoHash = "sha256-XQ1oEF+axp8pC6OkLlab1qI7RJeAyeSb58oChgaaS1s=";
2024-09-14 06:02:16 -06:00
meta = {
description = "LaTeX formatter written in Rust";
homepage = "https://github.com/WGUNDERWOOD/tex-fmt";
license = lib.licenses.mit;
mainProgram = "tex-fmt";
maintainers = with lib.maintainers; [ wgunderwood ];
};
}