2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, ncurses }:
|
2016-03-23 15:18:03 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "tweak";
|
2016-03-23 15:18:03 +01:00
|
|
|
version = "3.02";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://www.chiark.greenend.org.uk/~sgtatham/tweak/${pname}-${version}.tar.gz";
|
2016-03-23 15:18:03 +01:00
|
|
|
sha256 = "06js54pr5hwpwyxj77zs5s40n5aqvaw48dkj7rid2d47pyqijk2v";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
preBuild = "substituteInPlace Makefile --replace '$(DESTDIR)/usr/local' $out";
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-03-23 15:18:03 +01:00
|
|
|
description = "An efficient hex editor";
|
2020-04-01 03:11:51 +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
|
|
|
};
|
|
|
|
}
|