about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorbootstrap-prime <bootstrap.prime@gmail.com>2021-03-24 20:18:08 -0400
committerbootstrap-prime <bootstrap.prime@gmail.com>2021-04-03 18:34:21 -0400
commit9063f676b790d4351d0b61b931f0c2ec52f75977 (patch)
treec8d4fc52ba8662c999d913041749f8520fd4f3a8 /pkgs/tools/typesetting
parent19839492cc2cd620fbc379bdd4a059b46d19f85f (diff)
downloadnixlib-9063f676b790d4351d0b61b931f0c2ec52f75977.tar
nixlib-9063f676b790d4351d0b61b931f0c2ec52f75977.tar.gz
nixlib-9063f676b790d4351d0b61b931f0c2ec52f75977.tar.bz2
nixlib-9063f676b790d4351d0b61b931f0c2ec52f75977.tar.lz
nixlib-9063f676b790d4351d0b61b931f0c2ec52f75977.tar.xz
nixlib-9063f676b790d4351d0b61b931f0c2ec52f75977.tar.zst
nixlib-9063f676b790d4351d0b61b931f0c2ec52f75977.zip
tex-match: init at 1.2.0
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;
+  };
+}