summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/tweak
diff options
context:
space:
mode:
authorrnhmjoj <micheleguerinirocco@me.com>2016-03-23 15:18:03 +0100
committerrnhmjoj <micheleguerinirocco@me.com>2016-03-23 15:18:03 +0100
commita4d5f496035ccc68dd74ccb6a49d8f6f0a83efbc (patch)
treeca37f6ef9885cad65e0639a66c871f6a381f7cfe /pkgs/applications/editors/tweak
parent6648ef5d25aecb404fd70ec2036473271d9f8b32 (diff)
tweak: init at 3.20
Diffstat (limited to 'pkgs/applications/editors/tweak')
-rw-r--r--pkgs/applications/editors/tweak/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/editors/tweak/default.nix b/pkgs/applications/editors/tweak/default.nix
new file mode 100644
index 000000000000..5ebe4672cab0
--- /dev/null
+++ b/pkgs/applications/editors/tweak/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl, ncurses }:
+
+stdenv.mkDerivation rec {
+ name = "tweak-${version}";
+ version = "3.02";
+
+ src = fetchurl {
+ url = "http://www.chiark.greenend.org.uk/~sgtatham/tweak/${name}.tar.gz";
+ sha256 = "06js54pr5hwpwyxj77zs5s40n5aqvaw48dkj7rid2d47pyqijk2v";
+ };
+
+ buildInputs = [ ncurses ];
+ preBuild = "substituteInPlace Makefile --replace '$(DESTDIR)/usr/local' $out";
+
+ meta = with stdenv.lib; {
+ description = "An efficient hex editor";
+ homepage = "http://www.chiark.greenend.org.uk/~sgtatham/tweak";
+ license = licenses.mit;
+ platform = platforms.unix;
+ };
+}