ddhx: init at 0.9.1

This commit is contained in:
Ryan Omasta
2025-10-13 05:13:11 -06:00
parent 449fa04ebf
commit 39c57f5a0c
2 changed files with 38 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
{
"dependencies": {}
}
+35
View File
@@ -0,0 +1,35 @@
{
lib,
buildDubPackage,
fetchFromGitHub,
}:
buildDubPackage (finalAttrs: {
pname = "ddhx";
version = "0.9.1";
src = fetchFromGitHub {
owner = "dd86k";
repo = "ddhx";
tag = "v${finalAttrs.version}";
hash = "sha256-AFhxrYncqVnHfro4sUgCT1ZBeL3CUwcwhnGXVuFQ9ak=";
};
dubLock = ./dub-lock.json;
installPhase = ''
runHook preInstall
install -Dm755 ddhx -t $out/bin
runHook postInstall
'';
doCheck = true;
meta = {
description = "Console text-mode hex editor, inspired by GNU nano and vim";
homepage = "https://github.com/dd86k/ddhx";
changelog = "https://github.com/dd86k/ddhx/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ryand56 ];
platforms = lib.platforms.unix;
};
})