nixpkgs/pkgs/applications/editors/tweak/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

22 lines
599 B
Nix

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
name = "tweak-${version}";
version = "3.02";
src = fetchurl {
url = "https://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;
platforms = platforms.linux;
};
}