lol

itm-tools: replace patch with Cargo.lock

https://github.com/NixOS/nixpkgs/pull/217084 plans to migrate Rust packages to use `importCargoLock`, but the migration script cannot handle `cargoPatches`: https://github.com/NixOS/nixpkgs/pull/217084#discussion_r1111253151

figsoda 01181276 a1970c01

+325 -324
+315
pkgs/development/tools/misc/itm-tools/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + [[package]] 4 + name = "addr2line" 5 + version = "0.12.2" 6 + source = "registry+https://github.com/rust-lang/crates.io-index" 7 + checksum = "602d785912f476e480434627e8732e6766b760c045bbf897d9dfaa9f4fbd399c" 8 + dependencies = [ 9 + "gimli", 10 + ] 11 + 12 + [[package]] 13 + name = "adler32" 14 + version = "1.1.0" 15 + source = "registry+https://github.com/rust-lang/crates.io-index" 16 + checksum = "567b077b825e468cc974f0020d4082ee6e03132512f207ef1a02fd5d00d1f32d" 17 + 18 + [[package]] 19 + name = "ansi_term" 20 + version = "0.11.0" 21 + source = "registry+https://github.com/rust-lang/crates.io-index" 22 + checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" 23 + dependencies = [ 24 + "winapi", 25 + ] 26 + 27 + [[package]] 28 + name = "atty" 29 + version = "0.2.14" 30 + source = "registry+https://github.com/rust-lang/crates.io-index" 31 + checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 32 + dependencies = [ 33 + "hermit-abi", 34 + "libc", 35 + "winapi", 36 + ] 37 + 38 + [[package]] 39 + name = "backtrace" 40 + version = "0.3.49" 41 + source = "registry+https://github.com/rust-lang/crates.io-index" 42 + checksum = "05100821de9e028f12ae3d189176b41ee198341eb8f369956407fea2f5cc666c" 43 + dependencies = [ 44 + "addr2line", 45 + "cfg-if", 46 + "libc", 47 + "miniz_oxide", 48 + "object", 49 + "rustc-demangle", 50 + ] 51 + 52 + [[package]] 53 + name = "bitflags" 54 + version = "1.2.1" 55 + source = "registry+https://github.com/rust-lang/crates.io-index" 56 + checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" 57 + 58 + [[package]] 59 + name = "byteorder" 60 + version = "1.3.4" 61 + source = "registry+https://github.com/rust-lang/crates.io-index" 62 + checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" 63 + 64 + [[package]] 65 + name = "cfg-if" 66 + version = "0.1.10" 67 + source = "registry+https://github.com/rust-lang/crates.io-index" 68 + checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" 69 + 70 + [[package]] 71 + name = "clap" 72 + version = "2.33.1" 73 + source = "registry+https://github.com/rust-lang/crates.io-index" 74 + checksum = "bdfa80d47f954d53a35a64987ca1422f495b8d6483c0fe9f7117b36c2a792129" 75 + dependencies = [ 76 + "ansi_term", 77 + "atty", 78 + "bitflags", 79 + "strsim", 80 + "textwrap", 81 + "unicode-width", 82 + "vec_map", 83 + ] 84 + 85 + [[package]] 86 + name = "either" 87 + version = "1.5.3" 88 + source = "registry+https://github.com/rust-lang/crates.io-index" 89 + checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3" 90 + 91 + [[package]] 92 + name = "exitfailure" 93 + version = "0.5.1" 94 + source = "registry+https://github.com/rust-lang/crates.io-index" 95 + checksum = "2ff5bd832af37f366c6c194d813a11cd90ac484f124f079294f28e357ae40515" 96 + dependencies = [ 97 + "failure", 98 + ] 99 + 100 + [[package]] 101 + name = "failure" 102 + version = "0.1.8" 103 + source = "registry+https://github.com/rust-lang/crates.io-index" 104 + checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" 105 + dependencies = [ 106 + "backtrace", 107 + "failure_derive", 108 + ] 109 + 110 + [[package]] 111 + name = "failure_derive" 112 + version = "0.1.8" 113 + source = "registry+https://github.com/rust-lang/crates.io-index" 114 + checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" 115 + dependencies = [ 116 + "proc-macro2", 117 + "quote", 118 + "syn", 119 + "synstructure", 120 + ] 121 + 122 + [[package]] 123 + name = "gimli" 124 + version = "0.21.0" 125 + source = "registry+https://github.com/rust-lang/crates.io-index" 126 + checksum = "bcc8e0c9bce37868955864dbecd2b1ab2bdf967e6f28066d65aaac620444b65c" 127 + 128 + [[package]] 129 + name = "hermit-abi" 130 + version = "0.1.15" 131 + source = "registry+https://github.com/rust-lang/crates.io-index" 132 + checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9" 133 + dependencies = [ 134 + "libc", 135 + ] 136 + 137 + [[package]] 138 + name = "itm" 139 + version = "0.4.0" 140 + source = "git+https://github.com/rust-embedded/itm#5dd476d03de0738062a876fd3845900ab04833a4" 141 + dependencies = [ 142 + "byteorder", 143 + "either", 144 + "thiserror", 145 + ] 146 + 147 + [[package]] 148 + name = "itm-tools" 149 + version = "0.1.0" 150 + dependencies = [ 151 + "clap", 152 + "exitfailure", 153 + "failure", 154 + "itm", 155 + "rustc-demangle", 156 + "xmas-elf", 157 + ] 158 + 159 + [[package]] 160 + name = "libc" 161 + version = "0.2.71" 162 + source = "registry+https://github.com/rust-lang/crates.io-index" 163 + checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49" 164 + 165 + [[package]] 166 + name = "miniz_oxide" 167 + version = "0.3.7" 168 + source = "registry+https://github.com/rust-lang/crates.io-index" 169 + checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435" 170 + dependencies = [ 171 + "adler32", 172 + ] 173 + 174 + [[package]] 175 + name = "object" 176 + version = "0.20.0" 177 + source = "registry+https://github.com/rust-lang/crates.io-index" 178 + checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5" 179 + 180 + [[package]] 181 + name = "proc-macro2" 182 + version = "1.0.18" 183 + source = "registry+https://github.com/rust-lang/crates.io-index" 184 + checksum = "beae6331a816b1f65d04c45b078fd8e6c93e8071771f41b8163255bbd8d7c8fa" 185 + dependencies = [ 186 + "unicode-xid", 187 + ] 188 + 189 + [[package]] 190 + name = "quote" 191 + version = "1.0.7" 192 + source = "registry+https://github.com/rust-lang/crates.io-index" 193 + checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" 194 + dependencies = [ 195 + "proc-macro2", 196 + ] 197 + 198 + [[package]] 199 + name = "rustc-demangle" 200 + version = "0.1.16" 201 + source = "registry+https://github.com/rust-lang/crates.io-index" 202 + checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" 203 + 204 + [[package]] 205 + name = "strsim" 206 + version = "0.8.0" 207 + source = "registry+https://github.com/rust-lang/crates.io-index" 208 + checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 209 + 210 + [[package]] 211 + name = "syn" 212 + version = "1.0.33" 213 + source = "registry+https://github.com/rust-lang/crates.io-index" 214 + checksum = "e8d5d96e8cbb005d6959f119f773bfaebb5684296108fb32600c00cde305b2cd" 215 + dependencies = [ 216 + "proc-macro2", 217 + "quote", 218 + "unicode-xid", 219 + ] 220 + 221 + [[package]] 222 + name = "synstructure" 223 + version = "0.12.4" 224 + source = "registry+https://github.com/rust-lang/crates.io-index" 225 + checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701" 226 + dependencies = [ 227 + "proc-macro2", 228 + "quote", 229 + "syn", 230 + "unicode-xid", 231 + ] 232 + 233 + [[package]] 234 + name = "textwrap" 235 + version = "0.11.0" 236 + source = "registry+https://github.com/rust-lang/crates.io-index" 237 + checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 238 + dependencies = [ 239 + "unicode-width", 240 + ] 241 + 242 + [[package]] 243 + name = "thiserror" 244 + version = "1.0.20" 245 + source = "registry+https://github.com/rust-lang/crates.io-index" 246 + checksum = "7dfdd070ccd8ccb78f4ad66bf1982dc37f620ef696c6b5028fe2ed83dd3d0d08" 247 + dependencies = [ 248 + "thiserror-impl", 249 + ] 250 + 251 + [[package]] 252 + name = "thiserror-impl" 253 + version = "1.0.20" 254 + source = "registry+https://github.com/rust-lang/crates.io-index" 255 + checksum = "bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793" 256 + dependencies = [ 257 + "proc-macro2", 258 + "quote", 259 + "syn", 260 + ] 261 + 262 + [[package]] 263 + name = "unicode-width" 264 + version = "0.1.8" 265 + source = "registry+https://github.com/rust-lang/crates.io-index" 266 + checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" 267 + 268 + [[package]] 269 + name = "unicode-xid" 270 + version = "0.2.1" 271 + source = "registry+https://github.com/rust-lang/crates.io-index" 272 + checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" 273 + 274 + [[package]] 275 + name = "vec_map" 276 + version = "0.8.2" 277 + source = "registry+https://github.com/rust-lang/crates.io-index" 278 + checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 279 + 280 + [[package]] 281 + name = "winapi" 282 + version = "0.3.9" 283 + source = "registry+https://github.com/rust-lang/crates.io-index" 284 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 285 + dependencies = [ 286 + "winapi-i686-pc-windows-gnu", 287 + "winapi-x86_64-pc-windows-gnu", 288 + ] 289 + 290 + [[package]] 291 + name = "winapi-i686-pc-windows-gnu" 292 + version = "0.4.0" 293 + source = "registry+https://github.com/rust-lang/crates.io-index" 294 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 295 + 296 + [[package]] 297 + name = "winapi-x86_64-pc-windows-gnu" 298 + version = "0.4.0" 299 + source = "registry+https://github.com/rust-lang/crates.io-index" 300 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 301 + 302 + [[package]] 303 + name = "xmas-elf" 304 + version = "0.6.2" 305 + source = "registry+https://github.com/rust-lang/crates.io-index" 306 + checksum = "22678df5df766e8d1e5d609da69f0c3132d794edf6ab5e75e7abcd2270d4cf58" 307 + dependencies = [ 308 + "zero", 309 + ] 310 + 311 + [[package]] 312 + name = "zero" 313 + version = "0.1.2" 314 + source = "registry+https://github.com/rust-lang/crates.io-index" 315 + checksum = "5f1bc8a6b2005884962297587045002d8cfb8dcec9db332f4ca216ddc5de82c5"
-321
pkgs/development/tools/misc/itm-tools/cargo-lock.patch
··· 1 - diff --git a/Cargo.lock b/Cargo.lock 2 - new file mode 100644 3 - index 0000000..d9d39e5 4 - --- /dev/null 5 - +++ b/Cargo.lock 6 - @@ -0,0 +1,315 @@ 7 - +# This file is automatically @generated by Cargo. 8 - +# It is not intended for manual editing. 9 - +[[package]] 10 - +name = "addr2line" 11 - +version = "0.12.2" 12 - +source = "registry+https://github.com/rust-lang/crates.io-index" 13 - +checksum = "602d785912f476e480434627e8732e6766b760c045bbf897d9dfaa9f4fbd399c" 14 - +dependencies = [ 15 - + "gimli", 16 - +] 17 - + 18 - +[[package]] 19 - +name = "adler32" 20 - +version = "1.1.0" 21 - +source = "registry+https://github.com/rust-lang/crates.io-index" 22 - +checksum = "567b077b825e468cc974f0020d4082ee6e03132512f207ef1a02fd5d00d1f32d" 23 - + 24 - +[[package]] 25 - +name = "ansi_term" 26 - +version = "0.11.0" 27 - +source = "registry+https://github.com/rust-lang/crates.io-index" 28 - +checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" 29 - +dependencies = [ 30 - + "winapi", 31 - +] 32 - + 33 - +[[package]] 34 - +name = "atty" 35 - +version = "0.2.14" 36 - +source = "registry+https://github.com/rust-lang/crates.io-index" 37 - +checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 38 - +dependencies = [ 39 - + "hermit-abi", 40 - + "libc", 41 - + "winapi", 42 - +] 43 - + 44 - +[[package]] 45 - +name = "backtrace" 46 - +version = "0.3.49" 47 - +source = "registry+https://github.com/rust-lang/crates.io-index" 48 - +checksum = "05100821de9e028f12ae3d189176b41ee198341eb8f369956407fea2f5cc666c" 49 - +dependencies = [ 50 - + "addr2line", 51 - + "cfg-if", 52 - + "libc", 53 - + "miniz_oxide", 54 - + "object", 55 - + "rustc-demangle", 56 - +] 57 - + 58 - +[[package]] 59 - +name = "bitflags" 60 - +version = "1.2.1" 61 - +source = "registry+https://github.com/rust-lang/crates.io-index" 62 - +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" 63 - + 64 - +[[package]] 65 - +name = "byteorder" 66 - +version = "1.3.4" 67 - +source = "registry+https://github.com/rust-lang/crates.io-index" 68 - +checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de" 69 - + 70 - +[[package]] 71 - +name = "cfg-if" 72 - +version = "0.1.10" 73 - +source = "registry+https://github.com/rust-lang/crates.io-index" 74 - +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" 75 - + 76 - +[[package]] 77 - +name = "clap" 78 - +version = "2.33.1" 79 - +source = "registry+https://github.com/rust-lang/crates.io-index" 80 - +checksum = "bdfa80d47f954d53a35a64987ca1422f495b8d6483c0fe9f7117b36c2a792129" 81 - +dependencies = [ 82 - + "ansi_term", 83 - + "atty", 84 - + "bitflags", 85 - + "strsim", 86 - + "textwrap", 87 - + "unicode-width", 88 - + "vec_map", 89 - +] 90 - + 91 - +[[package]] 92 - +name = "either" 93 - +version = "1.5.3" 94 - +source = "registry+https://github.com/rust-lang/crates.io-index" 95 - +checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3" 96 - + 97 - +[[package]] 98 - +name = "exitfailure" 99 - +version = "0.5.1" 100 - +source = "registry+https://github.com/rust-lang/crates.io-index" 101 - +checksum = "2ff5bd832af37f366c6c194d813a11cd90ac484f124f079294f28e357ae40515" 102 - +dependencies = [ 103 - + "failure", 104 - +] 105 - + 106 - +[[package]] 107 - +name = "failure" 108 - +version = "0.1.8" 109 - +source = "registry+https://github.com/rust-lang/crates.io-index" 110 - +checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" 111 - +dependencies = [ 112 - + "backtrace", 113 - + "failure_derive", 114 - +] 115 - + 116 - +[[package]] 117 - +name = "failure_derive" 118 - +version = "0.1.8" 119 - +source = "registry+https://github.com/rust-lang/crates.io-index" 120 - +checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" 121 - +dependencies = [ 122 - + "proc-macro2", 123 - + "quote", 124 - + "syn", 125 - + "synstructure", 126 - +] 127 - + 128 - +[[package]] 129 - +name = "gimli" 130 - +version = "0.21.0" 131 - +source = "registry+https://github.com/rust-lang/crates.io-index" 132 - +checksum = "bcc8e0c9bce37868955864dbecd2b1ab2bdf967e6f28066d65aaac620444b65c" 133 - + 134 - +[[package]] 135 - +name = "hermit-abi" 136 - +version = "0.1.15" 137 - +source = "registry+https://github.com/rust-lang/crates.io-index" 138 - +checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9" 139 - +dependencies = [ 140 - + "libc", 141 - +] 142 - + 143 - +[[package]] 144 - +name = "itm" 145 - +version = "0.4.0" 146 - +source = "git+https://github.com/rust-embedded/itm#5dd476d03de0738062a876fd3845900ab04833a4" 147 - +dependencies = [ 148 - + "byteorder", 149 - + "either", 150 - + "thiserror", 151 - +] 152 - + 153 - +[[package]] 154 - +name = "itm-tools" 155 - +version = "0.1.0" 156 - +dependencies = [ 157 - + "clap", 158 - + "exitfailure", 159 - + "failure", 160 - + "itm", 161 - + "rustc-demangle", 162 - + "xmas-elf", 163 - +] 164 - + 165 - +[[package]] 166 - +name = "libc" 167 - +version = "0.2.71" 168 - +source = "registry+https://github.com/rust-lang/crates.io-index" 169 - +checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49" 170 - + 171 - +[[package]] 172 - +name = "miniz_oxide" 173 - +version = "0.3.7" 174 - +source = "registry+https://github.com/rust-lang/crates.io-index" 175 - +checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435" 176 - +dependencies = [ 177 - + "adler32", 178 - +] 179 - + 180 - +[[package]] 181 - +name = "object" 182 - +version = "0.20.0" 183 - +source = "registry+https://github.com/rust-lang/crates.io-index" 184 - +checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5" 185 - + 186 - +[[package]] 187 - +name = "proc-macro2" 188 - +version = "1.0.18" 189 - +source = "registry+https://github.com/rust-lang/crates.io-index" 190 - +checksum = "beae6331a816b1f65d04c45b078fd8e6c93e8071771f41b8163255bbd8d7c8fa" 191 - +dependencies = [ 192 - + "unicode-xid", 193 - +] 194 - + 195 - +[[package]] 196 - +name = "quote" 197 - +version = "1.0.7" 198 - +source = "registry+https://github.com/rust-lang/crates.io-index" 199 - +checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37" 200 - +dependencies = [ 201 - + "proc-macro2", 202 - +] 203 - + 204 - +[[package]] 205 - +name = "rustc-demangle" 206 - +version = "0.1.16" 207 - +source = "registry+https://github.com/rust-lang/crates.io-index" 208 - +checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783" 209 - + 210 - +[[package]] 211 - +name = "strsim" 212 - +version = "0.8.0" 213 - +source = "registry+https://github.com/rust-lang/crates.io-index" 214 - +checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 215 - + 216 - +[[package]] 217 - +name = "syn" 218 - +version = "1.0.33" 219 - +source = "registry+https://github.com/rust-lang/crates.io-index" 220 - +checksum = "e8d5d96e8cbb005d6959f119f773bfaebb5684296108fb32600c00cde305b2cd" 221 - +dependencies = [ 222 - + "proc-macro2", 223 - + "quote", 224 - + "unicode-xid", 225 - +] 226 - + 227 - +[[package]] 228 - +name = "synstructure" 229 - +version = "0.12.4" 230 - +source = "registry+https://github.com/rust-lang/crates.io-index" 231 - +checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701" 232 - +dependencies = [ 233 - + "proc-macro2", 234 - + "quote", 235 - + "syn", 236 - + "unicode-xid", 237 - +] 238 - + 239 - +[[package]] 240 - +name = "textwrap" 241 - +version = "0.11.0" 242 - +source = "registry+https://github.com/rust-lang/crates.io-index" 243 - +checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 244 - +dependencies = [ 245 - + "unicode-width", 246 - +] 247 - + 248 - +[[package]] 249 - +name = "thiserror" 250 - +version = "1.0.20" 251 - +source = "registry+https://github.com/rust-lang/crates.io-index" 252 - +checksum = "7dfdd070ccd8ccb78f4ad66bf1982dc37f620ef696c6b5028fe2ed83dd3d0d08" 253 - +dependencies = [ 254 - + "thiserror-impl", 255 - +] 256 - + 257 - +[[package]] 258 - +name = "thiserror-impl" 259 - +version = "1.0.20" 260 - +source = "registry+https://github.com/rust-lang/crates.io-index" 261 - +checksum = "bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793" 262 - +dependencies = [ 263 - + "proc-macro2", 264 - + "quote", 265 - + "syn", 266 - +] 267 - + 268 - +[[package]] 269 - +name = "unicode-width" 270 - +version = "0.1.8" 271 - +source = "registry+https://github.com/rust-lang/crates.io-index" 272 - +checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" 273 - + 274 - +[[package]] 275 - +name = "unicode-xid" 276 - +version = "0.2.1" 277 - +source = "registry+https://github.com/rust-lang/crates.io-index" 278 - +checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564" 279 - + 280 - +[[package]] 281 - +name = "vec_map" 282 - +version = "0.8.2" 283 - +source = "registry+https://github.com/rust-lang/crates.io-index" 284 - +checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 285 - + 286 - +[[package]] 287 - +name = "winapi" 288 - +version = "0.3.9" 289 - +source = "registry+https://github.com/rust-lang/crates.io-index" 290 - +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 291 - +dependencies = [ 292 - + "winapi-i686-pc-windows-gnu", 293 - + "winapi-x86_64-pc-windows-gnu", 294 - +] 295 - + 296 - +[[package]] 297 - +name = "winapi-i686-pc-windows-gnu" 298 - +version = "0.4.0" 299 - +source = "registry+https://github.com/rust-lang/crates.io-index" 300 - +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 301 - + 302 - +[[package]] 303 - +name = "winapi-x86_64-pc-windows-gnu" 304 - +version = "0.4.0" 305 - +source = "registry+https://github.com/rust-lang/crates.io-index" 306 - +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 307 - + 308 - +[[package]] 309 - +name = "xmas-elf" 310 - +version = "0.6.2" 311 - +source = "registry+https://github.com/rust-lang/crates.io-index" 312 - +checksum = "22678df5df766e8d1e5d609da69f0c3132d794edf6ab5e75e7abcd2270d4cf58" 313 - +dependencies = [ 314 - + "zero", 315 - +] 316 - + 317 - +[[package]] 318 - +name = "zero" 319 - +version = "0.1.2" 320 - +source = "registry+https://github.com/rust-lang/crates.io-index" 321 - +checksum = "5f1bc8a6b2005884962297587045002d8cfb8dcec9db332f4ca216ddc5de82c5"
+10 -3
pkgs/development/tools/misc/itm-tools/default.nix
··· 11 11 sha256 = "19xkjym0i7y52cfhvis49c59nzvgw4906cd8bkz8ka38mbgfqgiy"; 12 12 }; 13 13 14 - cargoPatches = [ ./cargo-lock.patch ]; 14 + cargoLock = { 15 + lockFile = ./Cargo.lock; 16 + outputHashes = { 17 + "itm-0.4.0" = "sha256-T61f1WvxEMhI5bzp8FuMYWiG1YOPJvWuBJfK/gjuNKI="; 18 + }; 19 + }; 15 20 16 - cargoSha256 = "1hqv530x8k4rf9zzyl5p5z58bymk1p4qwrcxs21gr0zm2hqjlxy4"; 21 + nativeBuildInputs = [ pkg-config ]; 17 22 18 - nativeBuildInputs = [ pkg-config ]; 23 + postPatch = '' 24 + ln -s ${./Cargo.lock} Cargo.lock 25 + ''; 19 26 20 27 doCheck = false; 21 28