nixpkgs-suyu/pkgs/applications/editors/hexedit/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

20 lines
511 B
Nix

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
pname = "hexedit";
version = "1.2.13";
src = fetchurl {
url = "http://rigaux.org/${pname}-${version}.src.tgz";
sha256 = "1mwdp1ikk64cqmagnrrps5jkn3li3n47maiqh2qc1xbp1ains4ka";
};
buildInputs = [ ncurses ];
meta = {
description = "View and edit files in hexadecimal or in ASCII";
homepage = http://prigaux.chez.com/hexedit.html;
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
};
}