about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/hecate/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/hecate/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/editors/hecate/default.nix26
1 files changed, 26 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..de57fb092157
--- /dev/null
+++ b/nixpkgs/pkgs/applications/editors/hecate/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+  version = "0.0.1";
+  pname = "hecate";
+
+  src = fetchFromGitHub {
+    owner  = "evanmiller";
+    repo   = "hecate";
+    rev    = "v${version}";
+    sha256 = "0ymirsd06z3qa9wi59k696mg8f4mhscw8gc5c5zkd0n3n8s0k0z8";
+  };
+
+  goPackagePath = "hecate";
+
+  goDeps = ./deps.nix;
+
+  meta = with stdenv.lib; {
+    inherit (src.meta) homepage;
+    description = "terminal hex editor";
+    longDescription = "The Hex Editor From Hell!";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ ramkromberg ];
+    platforms = with platforms; linux;
+  };
+}