about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/hecate
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/hecate')
-rw-r--r--nixpkgs/pkgs/applications/editors/hecate/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/hecate/default.nix b/nixpkgs/pkgs/applications/editors/hecate/default.nix
new file mode 100644
index 000000000000..a2bb4e84c999
--- /dev/null
+++ b/nixpkgs/pkgs/applications/editors/hecate/default.nix
@@ -0,0 +1,25 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+  pname = "hecate";
+  version = "unstable-2022-05-03";
+
+  src = fetchFromGitHub {
+    owner = "evanmiller";
+    repo = "hecate";
+    rev = "7637250f4b2c5b777418b35fa11276d11d5128b0";
+    sha256 = "sha256-8L0ukzPF7aECCeZfwZYKcJAJLpPgotkVJ+OSdwQUjhw=";
+  };
+
+  vendorHash = "sha256-eyMrTrNarNCB3w8EOeJBmCbVxpMZy25sQ19icVARU1M=";
+
+  ldflags = [ "-s" "-w" ];
+
+  meta = with lib; {
+    inherit (src.meta) homepage;
+    description = "terminal hex editor";
+    longDescription = "The Hex Editor From Hell!";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ ramkromberg ];
+  };
+}