Merge pull request #290243 from pcasaretto/hexfiend-2.17
hexfiend: 2.16.0 -> 2.17.1
This commit is contained in:
commit
5a37dfd2bf
1 changed files with 10 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue