2016-03-23 15:18:03 +01:00
|
|
|
{ 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";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.chiark.greenend.org.uk/~sgtatham/tweak;
|
2016-03-23 15:18:03 +01:00
|
|
|
license = licenses.mit;
|
2016-08-06 16:06:16 +02:00
|
|
|
platforms = platforms.linux;
|
2016-03-23 15:18:03 +01:00
|
|
|
};
|
|
|
|
}
|