summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2020-01-30 21:08:55 +0100
committerJan Tojnar <jtojnar@gmail.com>2020-02-04 06:25:37 +0100
commit5a1bc70ec063b414694b31a1bf39deeed008e688 (patch)
tree68879e26ac422e4569d5059d5f5efdfa17324751 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentea9da648ef8df7fdec3efb3e2efc170e68776869 (diff)
common-updater-scripts: Support SRI-style hash
Some fetcher functions support SRI-style `hash` attribute in addition to legacy type-specific attributes. When `hash` is used `outputHashAlgo` is null so let’s complain when SRI-style hash value was not detected. Such attributes match the form ${type}${separator}${hash}: True SRI uses dash as a separator and only supports base64, whereas Nix’s SRI-style format uses a colon and supports all the same encodings like regular hashes (16/32/64). To keep this program reasonably simple, we will upgrade Nix’s SRI-like format to pure SRI instead of preserving it.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions