about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-04-05 06:25:08 +0200
committerGitHub <noreply@github.com>2021-04-05 06:25:08 +0200
commit7aae486f43f1d82a7a3cf257c3490dccb0d3443e (patch)
tree761fc8cc2db2b66ad5bd5aacb767fa1f92cc8273 /pkgs/tools/typesetting
parente039d12c856d851e75ab93ea5be2913a0bf95bc8 (diff)
parent9063f676b790d4351d0b61b931f0c2ec52f75977 (diff)
downloadnixlib-7aae486f43f1d82a7a3cf257c3490dccb0d3443e.tar
nixlib-7aae486f43f1d82a7a3cf257c3490dccb0d3443e.tar.gz
nixlib-7aae486f43f1d82a7a3cf257c3490dccb0d3443e.tar.bz2
nixlib-7aae486f43f1d82a7a3cf257c3490dccb0d3443e.tar.lz
nixlib-7aae486f43f1d82a7a3cf257c3490dccb0d3443e.tar.xz
nixlib-7aae486f43f1d82a7a3cf257c3490dccb0d3443e.tar.zst
nixlib-7aae486f43f1d82a7a3cf257c3490dccb0d3443e.zip
Merge pull request #117545 from bootstrap-prime/master
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/tex-match/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/tex-match/default.nix b/pkgs/tools/typesetting/tex/tex-match/default.nix
new file mode 100644
index 000000000000..4d02e2e1acfe
--- /dev/null
+++ b/pkgs/tools/typesetting/tex/tex-match/default.nix
@@ -0,0 +1,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 = "1sm2fd3dhs59rvmfjzrfz0qwqzyc9dllb8ph0wc2x0r3px16c71x";
+
+  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;
+  };
+}