itstool: add upstream patch to fix python warnings

+10
+10
pkgs/by-name/it/itstool/package.nix
··· 2 2 stdenv, 3 3 lib, 4 4 fetchurl, 5 + fetchpatch, 5 6 python3, 6 7 autoreconfHook, 7 8 }: ··· 14 15 url = "http://files.itstool.org/${pname}/${pname}-${version}.tar.bz2"; 15 16 hash = "sha256-a5p80poSu5VZj1dQ6HY87niDahogf4W3TYsydbJ+h8o="; 16 17 }; 18 + 19 + patches = [ 20 + # https://github.com/itstool/itstool/pull/51 21 + (fetchpatch { 22 + name = "fix-insufficiently-quoted-regular-expressions-pr51"; 23 + url = "https://github.com/itstool/itstool/commit/19f9580f27aa261ea383b395fdef7e153f3f9e6d.patch"; 24 + hash = "sha256-5J4mRXQu24o2rqVtaXN/ETgj6A8R0Ym+YkZhqhZTzIc="; 25 + }) 26 + ]; 17 27 18 28 strictDeps = true; 19 29