2023-07-15 17:15:38 +00:00
|
|
|
{ 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;
|
2023-08-04 22:07:22 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
2023-07-15 17:15:38 +00:00
|
|
|
maintainers = with maintainers; [ eliandoran ];
|
2023-08-04 22:07:22 +00:00
|
|
|
platforms = platforms.darwin;
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
}
|