- Switch from 'rev' to 'tag' attribute in fetchFromGitHub/fetchgit calls - Update 'sha256' to 'hash' for consistency - Convert to finalAttrs pattern where applicable - Replace 'with lib' with explicit lib prefixes - Use 'replace-fail' variants for substitutions - Update python3.pkgs to python3Packages pattern - Switch propagatedBuildInputs to dependencies for Python packages - Fix .pc file meta attribute interpolation Affected packages: autotrash, banana-vera, cano, cista, coost, cppi, criterion, diagrams-as-code, filterpath, fzf-make, gbsplay, gfold, git-pr, git-standup, hexedit, hueadm, ksh, liboqs, libowlevelzs, libsv, mini-calc, nph, physac, ps_mem, ragnarwm, rasm, raygui, sxcs, toolong, tuifimanager, unipicker, ustr, viu, xml-tooling-c, yyjson
32 lines
688 B
Nix
32 lines
688 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
ncurses,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "hexedit";
|
|
version = "1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pixel";
|
|
repo = "hexedit";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-fIgPbr7qmxyEga2YaAD0+NBM8LeDm/tVAq99ub7aiAI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ ncurses ];
|
|
|
|
meta = {
|
|
description = "View and edit files in hexadecimal or in ASCII";
|
|
homepage = "http://rigaux.org/hexedit.html";
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
mainProgram = "hexedit";
|
|
};
|
|
})
|