about summary refs log tree commit diff
path: root/pkgs/applications/editors/heh
diff options
context:
space:
mode:
authorPeter Hebden <peterhebden6@gmail.com>2023-07-31 20:27:22 +0100
committerPeter Hebden <peterhebden6@gmail.com>2023-08-06 13:10:55 +0100
commit231f561d78adc9a0e9223255acc7b240aaf419ee (patch)
treefe34c5565ee0292593ef606e049541fcda36cf67 /pkgs/applications/editors/heh
parentf7cff68f65c6f8fe79b1ffc162ec0945e5230981 (diff)
heh: init at 0.4.1
Diffstat (limited to 'pkgs/applications/editors/heh')
-rw-r--r--pkgs/applications/editors/heh/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/editors/heh/default.nix b/pkgs/applications/editors/heh/default.nix
new file mode 100644
index 0000000000000..ca044168b8450
--- /dev/null
+++ b/pkgs/applications/editors/heh/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, stdenv
+, rustPlatform
+, fetchFromGitHub
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "heh";
+  version = "0.4.1";
+
+  src = fetchFromGitHub {
+    owner = "ndd7xv";
+    repo = pname;
+    rev = "v${version}";
+    hash = "sha256-IIF/bkTLwR8pCs/hJ625T3NsiKf/6Zf1cW2i4lsiK4U=";
+  };
+
+  cargoHash = "sha256-tDvqaNVuzv1BlS/oNI1D/WV1b5uHreT3Ak/6ruqKXQc=";
+
+  meta = with lib; {
+    description = "A cross-platform terminal UI used for modifying file data in hex or ASCII.";
+    homepage = "https://github.com/ndd7xv/heh";
+    changelog = "https://github.com/ndd7xv/heh/releases/tag/${src.rev}";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ piturnah ];
+  };
+}