Merge pull request #139928 from figsoda/svgcleaner-update

svgcleaner: 0.9.2 -> 0.9.5

authored by figsoda and committed by GitHub d886961e f7324104

+267 -6
+256
pkgs/tools/graphics/svgcleaner/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "autocfg" 7 + version = "1.0.1" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" 10 + 11 + [[package]] 12 + name = "bitflags" 13 + version = "1.3.2" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 16 + 17 + [[package]] 18 + name = "cfg-if" 19 + version = "1.0.0" 20 + source = "registry+https://github.com/rust-lang/crates.io-index" 21 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 22 + 23 + [[package]] 24 + name = "chrono" 25 + version = "0.4.19" 26 + source = "registry+https://github.com/rust-lang/crates.io-index" 27 + checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" 28 + dependencies = [ 29 + "libc", 30 + "num-integer", 31 + "num-traits", 32 + "time", 33 + "winapi", 34 + ] 35 + 36 + [[package]] 37 + name = "clap" 38 + version = "2.33.3" 39 + source = "registry+https://github.com/rust-lang/crates.io-index" 40 + checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" 41 + dependencies = [ 42 + "bitflags", 43 + "textwrap", 44 + "unicode-width", 45 + ] 46 + 47 + [[package]] 48 + name = "error-chain" 49 + version = "0.11.0" 50 + source = "registry+https://github.com/rust-lang/crates.io-index" 51 + checksum = "ff511d5dc435d703f4971bc399647c9bc38e20cb41452e3b9feb4765419ed3f3" 52 + 53 + [[package]] 54 + name = "fern" 55 + version = "0.5.9" 56 + source = "registry+https://github.com/rust-lang/crates.io-index" 57 + checksum = "e69ab0d5aca163e388c3a49d284fed6c3d0810700e77c5ae2756a50ec1a4daaa" 58 + dependencies = [ 59 + "chrono", 60 + "log", 61 + ] 62 + 63 + [[package]] 64 + name = "float-cmp" 65 + version = "0.3.0" 66 + source = "registry+https://github.com/rust-lang/crates.io-index" 67 + checksum = "2be876712b52d3970d361df27210574630d8d44d6461f0b55745d56e88ac10b0" 68 + dependencies = [ 69 + "num", 70 + ] 71 + 72 + [[package]] 73 + name = "libc" 74 + version = "0.2.103" 75 + source = "registry+https://github.com/rust-lang/crates.io-index" 76 + checksum = "dd8f7255a17a627354f321ef0055d63b898c6fb27eff628af4d1b66b7331edf6" 77 + 78 + [[package]] 79 + name = "log" 80 + version = "0.4.14" 81 + source = "registry+https://github.com/rust-lang/crates.io-index" 82 + checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" 83 + dependencies = [ 84 + "cfg-if", 85 + ] 86 + 87 + [[package]] 88 + name = "num" 89 + version = "0.1.42" 90 + source = "registry+https://github.com/rust-lang/crates.io-index" 91 + checksum = "4703ad64153382334aa8db57c637364c322d3372e097840c72000dabdcf6156e" 92 + dependencies = [ 93 + "num-integer", 94 + "num-iter", 95 + "num-traits", 96 + ] 97 + 98 + [[package]] 99 + name = "num-integer" 100 + version = "0.1.44" 101 + source = "registry+https://github.com/rust-lang/crates.io-index" 102 + checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" 103 + dependencies = [ 104 + "autocfg", 105 + "num-traits", 106 + ] 107 + 108 + [[package]] 109 + name = "num-iter" 110 + version = "0.1.42" 111 + source = "registry+https://github.com/rust-lang/crates.io-index" 112 + checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59" 113 + dependencies = [ 114 + "autocfg", 115 + "num-integer", 116 + "num-traits", 117 + ] 118 + 119 + [[package]] 120 + name = "num-traits" 121 + version = "0.2.14" 122 + source = "registry+https://github.com/rust-lang/crates.io-index" 123 + checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290" 124 + dependencies = [ 125 + "autocfg", 126 + ] 127 + 128 + [[package]] 129 + name = "phf" 130 + version = "0.7.24" 131 + source = "registry+https://github.com/rust-lang/crates.io-index" 132 + checksum = "b3da44b85f8e8dfaec21adae67f95d93244b2ecf6ad2a692320598dcc8e6dd18" 133 + dependencies = [ 134 + "phf_shared", 135 + ] 136 + 137 + [[package]] 138 + name = "phf_shared" 139 + version = "0.7.24" 140 + source = "registry+https://github.com/rust-lang/crates.io-index" 141 + checksum = "234f71a15de2288bcb7e3b6515828d22af7ec8598ee6d24c3b526fa0a80b67a0" 142 + dependencies = [ 143 + "siphasher", 144 + ] 145 + 146 + [[package]] 147 + name = "simplecss" 148 + version = "0.1.0" 149 + source = "registry+https://github.com/rust-lang/crates.io-index" 150 + checksum = "135685097a85a64067df36e28a243e94a94f76d829087ce0be34eeb014260c0e" 151 + 152 + [[package]] 153 + name = "siphasher" 154 + version = "0.2.3" 155 + source = "registry+https://github.com/rust-lang/crates.io-index" 156 + checksum = "0b8de496cf83d4ed58b6be86c3a275b8602f6ffe98d3024a869e124147a9a3ac" 157 + 158 + [[package]] 159 + name = "svgcleaner" 160 + version = "0.9.5" 161 + dependencies = [ 162 + "clap", 163 + "error-chain", 164 + "fern", 165 + "log", 166 + "svgdom", 167 + ] 168 + 169 + [[package]] 170 + name = "svgdom" 171 + version = "0.10.5" 172 + source = "registry+https://github.com/rust-lang/crates.io-index" 173 + checksum = "dac5d235d251b4266fb95bdf737fe0c546b26327a127e35ad33effdd78cb2e83" 174 + dependencies = [ 175 + "error-chain", 176 + "float-cmp", 177 + "log", 178 + "simplecss", 179 + "svgparser", 180 + ] 181 + 182 + [[package]] 183 + name = "svgparser" 184 + version = "0.6.4" 185 + source = "registry+https://github.com/rust-lang/crates.io-index" 186 + checksum = "90b2a4d5f7d25526c750e436fb5a224e06579f32581515bf511b37210007a3cb" 187 + dependencies = [ 188 + "error-chain", 189 + "log", 190 + "phf", 191 + "xmlparser", 192 + ] 193 + 194 + [[package]] 195 + name = "textwrap" 196 + version = "0.11.0" 197 + source = "registry+https://github.com/rust-lang/crates.io-index" 198 + checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 199 + dependencies = [ 200 + "unicode-width", 201 + ] 202 + 203 + [[package]] 204 + name = "time" 205 + version = "0.1.44" 206 + source = "registry+https://github.com/rust-lang/crates.io-index" 207 + checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" 208 + dependencies = [ 209 + "libc", 210 + "wasi", 211 + "winapi", 212 + ] 213 + 214 + [[package]] 215 + name = "unicode-width" 216 + version = "0.1.9" 217 + source = "registry+https://github.com/rust-lang/crates.io-index" 218 + checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" 219 + 220 + [[package]] 221 + name = "wasi" 222 + version = "0.10.0+wasi-snapshot-preview1" 223 + source = "registry+https://github.com/rust-lang/crates.io-index" 224 + checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" 225 + 226 + [[package]] 227 + name = "winapi" 228 + version = "0.3.9" 229 + source = "registry+https://github.com/rust-lang/crates.io-index" 230 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 231 + dependencies = [ 232 + "winapi-i686-pc-windows-gnu", 233 + "winapi-x86_64-pc-windows-gnu", 234 + ] 235 + 236 + [[package]] 237 + name = "winapi-i686-pc-windows-gnu" 238 + version = "0.4.0" 239 + source = "registry+https://github.com/rust-lang/crates.io-index" 240 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 241 + 242 + [[package]] 243 + name = "winapi-x86_64-pc-windows-gnu" 244 + version = "0.4.0" 245 + source = "registry+https://github.com/rust-lang/crates.io-index" 246 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 247 + 248 + [[package]] 249 + name = "xmlparser" 250 + version = "0.1.2" 251 + source = "registry+https://github.com/rust-lang/crates.io-index" 252 + checksum = "a4fb8cb7e78fcf5055e751eae348c81bba17b6c84c8ed9fc5f6cf60e3e15d4aa" 253 + dependencies = [ 254 + "error-chain", 255 + "log", 256 + ]
+11 -6
pkgs/tools/graphics/svgcleaner/default.nix
··· 1 - { lib, fetchFromGitHub, rustPlatform }: 1 + { lib, rustPlatform, fetchFromGitHub }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "svgcleaner"; 5 - version = "0.9.2"; 5 + version = "0.9.5"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "RazrFalcon"; 9 9 repo = "svgcleaner"; 10 10 rev = "v${version}"; 11 - sha256 = "1jpnqsln37kkxz98vj7gly3c2170v6zamd876nc9nfl9vns41s0f"; 11 + sha256 = "sha256-nc+lKL6CJZid0WidcBwILhn81VgmmFrutfKT5UffdHA="; 12 12 }; 13 13 14 - cargoSha256 = "172kdnd11xb2qkklqdkdcwi3g55k0d67p8g8qj7iq34bsnfb5bnr"; 14 + cargoLock.lockFile = ./Cargo.lock; 15 + 16 + postPatch = '' 17 + cp ${./Cargo.lock} Cargo.lock; 18 + ''; 15 19 16 20 meta = with lib; { 17 21 description = "A tool for tidying and optimizing SVGs"; 18 22 homepage = "https://github.com/RazrFalcon/svgcleaner"; 19 - license = licenses.gpl2; 20 - maintainers = [ maintainers.mehandes ]; 23 + changelog = "https://github.com/RazrFalcon/svgcleaner/blob/v${version}/CHANGELOG.md"; 24 + license = licenses.gpl2Plus; 25 + maintainers = with maintainers; [ mehandes ]; 21 26 }; 22 27 }