hexfiend: 2.16.0 -> 2.17.1

https://hexfiend.github.io/HexFiend/ReleaseNotes.html

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
pcasaretto 2024-02-20 16:13:19 -03:00
parent b13bb492c7
commit db3868e64c

View File

@ -1,12 +1,19 @@
{ stdenv, lib, fetchurl, undmg }:
let
urlSuffix = version: if lib.versions.patch == 0 then
lib.versions.majorMinor version
else
version
;
in
stdenv.mkDerivation rec {
pname = "hexfiend";
version = "2.16.0";
version = "2.17.1";
src = fetchurl {
url = "https://github.com/HexFiend/HexFiend/releases/download/v${version}/Hex_Fiend_${lib.versions.majorMinor version}.dmg";
sha256 = "sha256-jO57bW5TyuQ0mjKKsSwDoGLp2TZ1d+m159flVGaVrLc=";
url = "https://github.com/HexFiend/HexFiend/releases/download/v${version}/Hex_Fiend_${urlSuffix version}.dmg";
hash = "sha256-QpGmpxDpdS+sJtsNtp0VSAd9WJXaZiKTH4yDsDK8FSk=";
};
sourceRoot = "Hex Fiend.app";