Merge pull request #290243 from pcasaretto/hexfiend-2.17

hexfiend: 2.16.0 -> 2.17.1
This commit is contained in:
Pol Dellaiera 2024-02-28 18:03:11 +01:00 committed by GitHub
commit 5a37dfd2bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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";