Merge pull request #230168 from eliandoran/dev/hexfiend

This commit is contained in:
Sandro 2023-07-03 16:00:30 +02:00 committed by GitHub
commit ce8744e3f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, lib, fetchurl, undmg }:
stdenv.mkDerivation rec {
pname = "hexfiend";
version = "2.16.0";
src = fetchurl {
url = "https://github.com/HexFiend/HexFiend/releases/download/v${version}/Hex_Fiend_${lib.versions.majorMinor version}.dmg";
sha256 = "sha256-jO57bW5TyuQ0mjKKsSwDoGLp2TZ1d+m159flVGaVrLc=";
};
sourceRoot = "Hex Fiend.app";
nativeBuildInputs = [ undmg ];
installPhase = ''
mkdir -p "$out/Applications/Hex Fiend.app"
cp -R . "$out/Applications/Hex Fiend.app"
'';
meta = with lib; {
description = "Open-source macOS hex editor";
homepage = "http://hexfiend.com/";
changelog = "https://hexfiend.github.io/HexFiend/ReleaseNotes.html";
license = licenses.bsd2;
maintainers = with maintainers; [ eliandoran ];
platforms = [ "x86_64-darwin" ];
};
}

View File

@ -3780,6 +3780,8 @@ with pkgs;
grandperspective = callPackage ../os-specific/darwin/grandperspective { };
hexfiend = callPackage ../os-specific/darwin/hexfiend { };
grb = callPackage ../applications/misc/grb { };
kerf = kerf_1; /* kerf2 is WIP */