summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2024-07-08 12:42:51 +1200
committeradisbladis <adisbladis@gmail.com>2024-07-08 17:37:52 +1200
commitb85639c5890abf2eb3ab6757b036529a035b6235 (patch)
tree6b83a2c457bbd50eaaf7b8ace7e1b6c07206522c /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent3cad140b1ae7266c04034fea1c75e6f4d374dc99 (diff)
lib.licenses: refactor internal mkLicense to avoid future typo bugs
This is a follow-up to https://github.com/NixOS/nixpkgs/pull/325380 where @emilazy discovered that we have some typos in field names. This refactoring wraps the implicit lib.licenses schema up in a factory function to ensure consistency. While a more proper type checker like the one we use for meta checks would be better I didn't want to depend on that in more places. In fact, we might want to make meta type checks more strict on the license field.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions