zoom: use SRI hash format

This commit is contained in:
AndersonTorres 2022-06-09 23:11:47 -03:00
parent ce51fe80f8
commit 3b224dccc3

View file

@ -1,4 +1,11 @@
{ lib, stdenv, fetchurl, perl, expat, xlibsWrapper, freetype }:
{ lib
, stdenv
, fetchurl
, perl
, expat
, xlibsWrapper
, freetype
}:
# !!! assert freetype == xorg.freetype
@ -8,7 +15,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://www.logicalshift.co.uk/unix/zoom/zoom-${version}.tar.gz";
sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj";
hash = "sha256-8pZ/HAVV341K6QRDUC0UzzO2rGW2AvSZ++Pp445V27w=";
};
buildInputs = [ perl expat xlibsWrapper freetype ];
@ -16,6 +23,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2 -fgnu89-inline";
meta = with lib; {
homepage = "https://www.logicalshift.co.uk/unix/zoom/";
description = "Player for Z-Code, TADS and HUGO stories or games";
longDescription = ''
Zoom is a player for Z-Code, TADS and HUGO stories or games. These are