summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-12-16 15:24:46 -0600
committerBen Siraphob <bensiraphob@gmail.com>2021-12-17 15:44:55 -0600
commit054ca1dbb91e86619a761347404d11d7722c83de (patch)
tree7ec16bfaa8619628f434d0697f1ed47ecb12379a /pkgs/tools/text
parent6c2318e451fc0eaf338fb461d9bfcc99869de758 (diff)
downloadnixpkgs-054ca1dbb91e86619a761347404d11d7722c83de.tar
nixpkgs-054ca1dbb91e86619a761347404d11d7722c83de.tar.gz
nixpkgs-054ca1dbb91e86619a761347404d11d7722c83de.tar.bz2
nixpkgs-054ca1dbb91e86619a761347404d11d7722c83de.tar.lz
nixpkgs-054ca1dbb91e86619a761347404d11d7722c83de.tar.xz
nixpkgs-054ca1dbb91e86619a761347404d11d7722c83de.tar.zst
nixpkgs-054ca1dbb91e86619a761347404d11d7722c83de.zip
morsel: init at 0.1.0
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/morsel/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/text/morsel/default.nix b/pkgs/tools/text/morsel/default.nix
new file mode 100644
index 00000000000..3968eb2cc4a
--- /dev/null
+++ b/pkgs/tools/text/morsel/default.nix
@@ -0,0 +1,22 @@
+{ lib, stdenv, fetchFromGitHub, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "morsel";
+  version = "0.1.0";
+
+  src = fetchFromGitHub {
+    owner = "SamLee514";
+    repo = "morsel";
+    rev = "v${version}";
+    sha256 = "sha256-m4bCni/9rMTPhZSogpd5+ARrW11TPHSvQpdz3wUr9H4=";
+  };
+
+  cargoSha256 = "sha256-2xR2/013ocDKWS1oWitpAbSDPRwEJJqFcCIm6ZQpCoc=";
+
+  meta = with lib; {
+    description = "Command line tool to translate morse code input to text in real time";
+    homepage = "https://github.com/SamLee514/morsel";
+    license = licenses.mit;
+    maintainers = with maintainers; [ siraben ];
+  };
+}