ddhx: init at 0.9.1
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"dependencies": {}
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user