t4kcommon: use fetchpatch instead of fetchurl (#435383)

authored by Aaron Andersen and committed by GitHub 1a29a2f4 d4d36ad8

+3 -3
+3 -3
pkgs/by-name/t4/t4kcommon/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 - fetchurl, 5 + fetchpatch, 6 6 cmake, 7 7 pkg-config, 8 8 SDL, ··· 28 28 29 29 patches = [ 30 30 # patch from debian to support libpng16 instead of libpng12 31 - (fetchurl { 31 + (fetchpatch { 32 32 url = "https://salsa.debian.org/tux4kids-pkg-team/t4kcommon/raw/f7073fa384f5a725139f54844e59b57338b69dc7/debian/patches/libpng16.patch"; 33 - sha256 = "1lcpkdy5gvxgljg1vkrxych74amq0gramb1snj2831dam48is054"; 33 + hash = "sha256-auQ8VvOyvLE1PD2dfeHZJV+MzIt1OtUa7OcOqsXTAYI="; 34 34 }) 35 35 ]; 36 36