summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorJoachim Schiele <js@lastlog.de>2013-07-31 15:21:54 +0000
committerJoachim Schiele <js@lastlog.de>2013-07-31 15:21:54 +0000
commit6b1116cfce8bc8f5adf2102a1613414afc82dc99 (patch)
tree730e1bc8014df5d884d3e8dd799942f49d83613a /pkgs/applications/editors
parentc324091a77d1ed04c13058a1655bb12a2f2271bd (diff)
parentafbc5cd5e90087713d8191c2ea0740ed1fbaa557 (diff)
downloadnixlib-6b1116cfce8bc8f5adf2102a1613414afc82dc99.tar
nixlib-6b1116cfce8bc8f5adf2102a1613414afc82dc99.tar.gz
nixlib-6b1116cfce8bc8f5adf2102a1613414afc82dc99.tar.bz2
nixlib-6b1116cfce8bc8f5adf2102a1613414afc82dc99.tar.lz
nixlib-6b1116cfce8bc8f5adf2102a1613414afc82dc99.tar.xz
nixlib-6b1116cfce8bc8f5adf2102a1613414afc82dc99.tar.zst
nixlib-6b1116cfce8bc8f5adf2102a1613414afc82dc99.zip
Merge branch 'dhex'
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/dhex/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/editors/dhex/default.nix b/pkgs/applications/editors/dhex/default.nix
new file mode 100644
index 000000000000..45b7de900e26
--- /dev/null
+++ b/pkgs/applications/editors/dhex/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchurl, ncurses }:
+
+stdenv.mkDerivation rec {
+  name = "dhex-${version}";
+  version = "0.68";
+
+  src = fetchurl {
+    url = "http://www.dettus.net/dhex/dhex_${version}.tar.gz";
+    sha256 = "126c34745b48a07448cfe36fe5913d37ec562ad72d3f732b99bd40f761f4da08";
+  };
+
+  buildInputs = [ ncurses ];
+ 
+  installPhase = ''
+    ensureDir $out/bin
+    ensureDir $out/share/man/man1
+    ensureDir $out/share/man/man5
+
+    cp dhex $out/bin
+    cp dhex.1 $out/share/man/man1
+    cp dhexrc.5 $out/share/man/man5
+    cp dhex_markers.5 $out/share/man/man5
+    cp dhex_searchlog.5 $out/share/man/man5
+  '';
+
+  meta = {
+    description = "A themeable hex editor with diff mode";
+    homepage = http://www.dettus.net/dhex/;
+    license = stdenv.lib.licenses.gpl2;
+    maintainers = with stdenv.lib.maintainers; [qknight];
+  };
+}