about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/typesetting/tex/tex-match/default.nix
blob: 65bfcd02d78caf242b09734f13b0b7c7952dc648 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ rustPlatform, fetchFromGitHub, gtk3, pkg-config, glib, lib }:

rustPlatform.buildRustPackage rec {
  pname = "tex-match";
  version = "1.2.0";

  src = fetchFromGitHub {
    owner = "zoeyfyi";
    repo = "TeX-Match";
    rev = "v${version}";
    sha256 = "1yb81j7mbqqb8jcn78dx4ydp7ncbzvaczkli6cqay5jf5j6dbk1z";
  };

  nativeBuildInputs = [ pkg-config glib ];

  buildInputs = [ gtk3 ];

  cargoSha256 = "13ihwrckpsb4j1ai923vh151frw0yriwg9yylj9lk0ycps51y1sn";

  meta = with lib; {
    description = "Search through over 1000 different LaTeX symbols by sketching. A desktop version of detexify";
    homepage = "https://tex-match.zoey.fyi/";
    license = licenses.mit;
    maintainers = [ maintainers.bootstrap-prime ];
    platforms = platforms.linux;
  };
}