Merge pull request #231103 from jvanbruegge/fix-py-sr25519

python310Packages.py-sr25519-bindings: 0.2.0 -> unstable-2023-03-15

authored by

Jonas Heinrich and committed by
GitHub
ff79501f 21e5fa94

+7 -531
-522
pkgs/development/python-modules/py-sr25519-bindings/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 = "arrayref" 7 - version = "0.3.6" 8 - source = "registry+https://github.com/rust-lang/crates.io-index" 9 - checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" 10 - 11 - [[package]] 12 - name = "arrayvec" 13 - version = "0.7.2" 14 - source = "registry+https://github.com/rust-lang/crates.io-index" 15 - checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" 16 - 17 - [[package]] 18 - name = "autocfg" 19 - version = "1.1.0" 20 - source = "registry+https://github.com/rust-lang/crates.io-index" 21 - checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 22 - 23 - [[package]] 24 - name = "bitflags" 25 - version = "1.3.2" 26 - source = "registry+https://github.com/rust-lang/crates.io-index" 27 - checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 28 - 29 - [[package]] 30 - name = "block-buffer" 31 - version = "0.9.0" 32 - source = "registry+https://github.com/rust-lang/crates.io-index" 33 - checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" 34 - dependencies = [ 35 - "generic-array", 36 - ] 37 - 38 - [[package]] 39 - name = "byteorder" 40 - version = "1.4.3" 41 - source = "registry+https://github.com/rust-lang/crates.io-index" 42 - checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 43 - 44 - [[package]] 45 - name = "cfg-if" 46 - version = "1.0.0" 47 - source = "registry+https://github.com/rust-lang/crates.io-index" 48 - checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 49 - 50 - [[package]] 51 - name = "cpufeatures" 52 - version = "0.2.5" 53 - source = "registry+https://github.com/rust-lang/crates.io-index" 54 - checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" 55 - dependencies = [ 56 - "libc", 57 - ] 58 - 59 - [[package]] 60 - name = "ctor" 61 - version = "0.1.26" 62 - source = "registry+https://github.com/rust-lang/crates.io-index" 63 - checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" 64 - dependencies = [ 65 - "quote", 66 - "syn", 67 - ] 68 - 69 - [[package]] 70 - name = "curve25519-dalek-ng" 71 - version = "4.1.1" 72 - source = "registry+https://github.com/rust-lang/crates.io-index" 73 - checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" 74 - dependencies = [ 75 - "byteorder", 76 - "digest", 77 - "rand_core", 78 - "subtle-ng", 79 - "zeroize", 80 - ] 81 - 82 - [[package]] 83 - name = "digest" 84 - version = "0.9.0" 85 - source = "registry+https://github.com/rust-lang/crates.io-index" 86 - checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" 87 - dependencies = [ 88 - "generic-array", 89 - ] 90 - 91 - [[package]] 92 - name = "generic-array" 93 - version = "0.14.6" 94 - source = "registry+https://github.com/rust-lang/crates.io-index" 95 - checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" 96 - dependencies = [ 97 - "typenum", 98 - "version_check", 99 - ] 100 - 101 - [[package]] 102 - name = "getrandom" 103 - version = "0.2.8" 104 - source = "registry+https://github.com/rust-lang/crates.io-index" 105 - checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" 106 - dependencies = [ 107 - "cfg-if", 108 - "libc", 109 - "wasi", 110 - ] 111 - 112 - [[package]] 113 - name = "ghost" 114 - version = "0.1.7" 115 - source = "registry+https://github.com/rust-lang/crates.io-index" 116 - checksum = "41973d4c45f7a35af8753ba3457cc99d406d863941fd7f52663cff54a5ab99b3" 117 - dependencies = [ 118 - "proc-macro2", 119 - "quote", 120 - "syn", 121 - ] 122 - 123 - [[package]] 124 - name = "hex-literal" 125 - version = "0.3.4" 126 - source = "registry+https://github.com/rust-lang/crates.io-index" 127 - checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" 128 - 129 - [[package]] 130 - name = "indoc" 131 - version = "0.3.6" 132 - source = "registry+https://github.com/rust-lang/crates.io-index" 133 - checksum = "47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8" 134 - dependencies = [ 135 - "indoc-impl", 136 - "proc-macro-hack", 137 - ] 138 - 139 - [[package]] 140 - name = "indoc-impl" 141 - version = "0.3.6" 142 - source = "registry+https://github.com/rust-lang/crates.io-index" 143 - checksum = "ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0" 144 - dependencies = [ 145 - "proc-macro-hack", 146 - "proc-macro2", 147 - "quote", 148 - "syn", 149 - "unindent", 150 - ] 151 - 152 - [[package]] 153 - name = "instant" 154 - version = "0.1.12" 155 - source = "registry+https://github.com/rust-lang/crates.io-index" 156 - checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" 157 - dependencies = [ 158 - "cfg-if", 159 - ] 160 - 161 - [[package]] 162 - name = "inventory" 163 - version = "0.1.11" 164 - source = "registry+https://github.com/rust-lang/crates.io-index" 165 - checksum = "f0eb5160c60ba1e809707918ee329adb99d222888155835c6feedba19f6c3fd4" 166 - dependencies = [ 167 - "ctor", 168 - "ghost", 169 - "inventory-impl", 170 - ] 171 - 172 - [[package]] 173 - name = "inventory-impl" 174 - version = "0.1.11" 175 - source = "registry+https://github.com/rust-lang/crates.io-index" 176 - checksum = "7e41b53715c6f0c4be49510bb82dee2c1e51c8586d885abe65396e82ed518548" 177 - dependencies = [ 178 - "proc-macro2", 179 - "quote", 180 - "syn", 181 - ] 182 - 183 - [[package]] 184 - name = "keccak" 185 - version = "0.1.3" 186 - source = "registry+https://github.com/rust-lang/crates.io-index" 187 - checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768" 188 - dependencies = [ 189 - "cpufeatures", 190 - ] 191 - 192 - [[package]] 193 - name = "libc" 194 - version = "0.2.139" 195 - source = "registry+https://github.com/rust-lang/crates.io-index" 196 - checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" 197 - 198 - [[package]] 199 - name = "lock_api" 200 - version = "0.4.9" 201 - source = "registry+https://github.com/rust-lang/crates.io-index" 202 - checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" 203 - dependencies = [ 204 - "autocfg", 205 - "scopeguard", 206 - ] 207 - 208 - [[package]] 209 - name = "merlin" 210 - version = "3.0.0" 211 - source = "registry+https://github.com/rust-lang/crates.io-index" 212 - checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" 213 - dependencies = [ 214 - "byteorder", 215 - "keccak", 216 - "rand_core", 217 - "zeroize", 218 - ] 219 - 220 - [[package]] 221 - name = "opaque-debug" 222 - version = "0.3.0" 223 - source = "registry+https://github.com/rust-lang/crates.io-index" 224 - checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" 225 - 226 - [[package]] 227 - name = "parking_lot" 228 - version = "0.11.2" 229 - source = "registry+https://github.com/rust-lang/crates.io-index" 230 - checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" 231 - dependencies = [ 232 - "instant", 233 - "lock_api", 234 - "parking_lot_core", 235 - ] 236 - 237 - [[package]] 238 - name = "parking_lot_core" 239 - version = "0.8.6" 240 - source = "registry+https://github.com/rust-lang/crates.io-index" 241 - checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" 242 - dependencies = [ 243 - "cfg-if", 244 - "instant", 245 - "libc", 246 - "redox_syscall", 247 - "smallvec", 248 - "winapi", 249 - ] 250 - 251 - [[package]] 252 - name = "paste" 253 - version = "0.1.18" 254 - source = "registry+https://github.com/rust-lang/crates.io-index" 255 - checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880" 256 - dependencies = [ 257 - "paste-impl", 258 - "proc-macro-hack", 259 - ] 260 - 261 - [[package]] 262 - name = "paste-impl" 263 - version = "0.1.18" 264 - source = "registry+https://github.com/rust-lang/crates.io-index" 265 - checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6" 266 - dependencies = [ 267 - "proc-macro-hack", 268 - ] 269 - 270 - [[package]] 271 - name = "proc-macro-hack" 272 - version = "0.5.20+deprecated" 273 - source = "registry+https://github.com/rust-lang/crates.io-index" 274 - checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" 275 - 276 - [[package]] 277 - name = "proc-macro2" 278 - version = "1.0.50" 279 - source = "registry+https://github.com/rust-lang/crates.io-index" 280 - checksum = "6ef7d57beacfaf2d8aee5937dab7b7f28de3cb8b1828479bb5de2a7106f2bae2" 281 - dependencies = [ 282 - "unicode-ident", 283 - ] 284 - 285 - [[package]] 286 - name = "py-sr25519-bindings" 287 - version = "0.2.0" 288 - dependencies = [ 289 - "hex-literal", 290 - "pyo3", 291 - "schnorrkel", 292 - ] 293 - 294 - [[package]] 295 - name = "pyo3" 296 - version = "0.11.1" 297 - source = "registry+https://github.com/rust-lang/crates.io-index" 298 - checksum = "9ca8710ffa8211c9a62a8a3863c4267c710dc42a82a7fd29c97de465d7ea6b7d" 299 - dependencies = [ 300 - "ctor", 301 - "indoc", 302 - "inventory", 303 - "libc", 304 - "parking_lot", 305 - "paste", 306 - "pyo3cls", 307 - "unindent", 308 - ] 309 - 310 - [[package]] 311 - name = "pyo3-derive-backend" 312 - version = "0.11.1" 313 - source = "registry+https://github.com/rust-lang/crates.io-index" 314 - checksum = "58ad070bf6967b0d29ea74931ffcf9c6bbe8402a726e9afbeafadc0a287cc2b3" 315 - dependencies = [ 316 - "proc-macro2", 317 - "quote", 318 - "syn", 319 - ] 320 - 321 - [[package]] 322 - name = "pyo3cls" 323 - version = "0.11.1" 324 - source = "registry+https://github.com/rust-lang/crates.io-index" 325 - checksum = "c3fa17e1ea569d0bf3b7c00f2a9eea831ca05e55dd76f1794c541abba1c64baa" 326 - dependencies = [ 327 - "pyo3-derive-backend", 328 - "quote", 329 - "syn", 330 - ] 331 - 332 - [[package]] 333 - name = "quote" 334 - version = "1.0.23" 335 - source = "registry+https://github.com/rust-lang/crates.io-index" 336 - checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" 337 - dependencies = [ 338 - "proc-macro2", 339 - ] 340 - 341 - [[package]] 342 - name = "rand_core" 343 - version = "0.6.4" 344 - source = "registry+https://github.com/rust-lang/crates.io-index" 345 - checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 346 - dependencies = [ 347 - "getrandom", 348 - ] 349 - 350 - [[package]] 351 - name = "redox_syscall" 352 - version = "0.2.16" 353 - source = "registry+https://github.com/rust-lang/crates.io-index" 354 - checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 355 - dependencies = [ 356 - "bitflags", 357 - ] 358 - 359 - [[package]] 360 - name = "schnorrkel" 361 - version = "0.10.2" 362 - source = "registry+https://github.com/rust-lang/crates.io-index" 363 - checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" 364 - dependencies = [ 365 - "arrayref", 366 - "arrayvec", 367 - "curve25519-dalek-ng", 368 - "merlin", 369 - "rand_core", 370 - "serde_bytes", 371 - "sha2", 372 - "subtle-ng", 373 - "zeroize", 374 - ] 375 - 376 - [[package]] 377 - name = "scopeguard" 378 - version = "1.1.0" 379 - source = "registry+https://github.com/rust-lang/crates.io-index" 380 - checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 381 - 382 - [[package]] 383 - name = "serde" 384 - version = "1.0.152" 385 - source = "registry+https://github.com/rust-lang/crates.io-index" 386 - checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" 387 - 388 - [[package]] 389 - name = "serde_bytes" 390 - version = "0.11.8" 391 - source = "registry+https://github.com/rust-lang/crates.io-index" 392 - checksum = "718dc5fff5b36f99093fc49b280cfc96ce6fc824317783bff5a1fed0c7a64819" 393 - dependencies = [ 394 - "serde", 395 - ] 396 - 397 - [[package]] 398 - name = "sha2" 399 - version = "0.9.9" 400 - source = "registry+https://github.com/rust-lang/crates.io-index" 401 - checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" 402 - dependencies = [ 403 - "block-buffer", 404 - "cfg-if", 405 - "cpufeatures", 406 - "digest", 407 - "opaque-debug", 408 - ] 409 - 410 - [[package]] 411 - name = "smallvec" 412 - version = "1.10.0" 413 - source = "registry+https://github.com/rust-lang/crates.io-index" 414 - checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" 415 - 416 - [[package]] 417 - name = "subtle-ng" 418 - version = "2.5.0" 419 - source = "registry+https://github.com/rust-lang/crates.io-index" 420 - checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" 421 - 422 - [[package]] 423 - name = "syn" 424 - version = "1.0.107" 425 - source = "registry+https://github.com/rust-lang/crates.io-index" 426 - checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" 427 - dependencies = [ 428 - "proc-macro2", 429 - "quote", 430 - "unicode-ident", 431 - ] 432 - 433 - [[package]] 434 - name = "synstructure" 435 - version = "0.12.6" 436 - source = "registry+https://github.com/rust-lang/crates.io-index" 437 - checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" 438 - dependencies = [ 439 - "proc-macro2", 440 - "quote", 441 - "syn", 442 - "unicode-xid", 443 - ] 444 - 445 - [[package]] 446 - name = "typenum" 447 - version = "1.16.0" 448 - source = "registry+https://github.com/rust-lang/crates.io-index" 449 - checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" 450 - 451 - [[package]] 452 - name = "unicode-ident" 453 - version = "1.0.6" 454 - source = "registry+https://github.com/rust-lang/crates.io-index" 455 - checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" 456 - 457 - [[package]] 458 - name = "unicode-xid" 459 - version = "0.2.4" 460 - source = "registry+https://github.com/rust-lang/crates.io-index" 461 - checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" 462 - 463 - [[package]] 464 - name = "unindent" 465 - version = "0.1.11" 466 - source = "registry+https://github.com/rust-lang/crates.io-index" 467 - checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c" 468 - 469 - [[package]] 470 - name = "version_check" 471 - version = "0.9.4" 472 - source = "registry+https://github.com/rust-lang/crates.io-index" 473 - checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 474 - 475 - [[package]] 476 - name = "wasi" 477 - version = "0.11.0+wasi-snapshot-preview1" 478 - source = "registry+https://github.com/rust-lang/crates.io-index" 479 - checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 480 - 481 - [[package]] 482 - name = "winapi" 483 - version = "0.3.9" 484 - source = "registry+https://github.com/rust-lang/crates.io-index" 485 - checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 486 - dependencies = [ 487 - "winapi-i686-pc-windows-gnu", 488 - "winapi-x86_64-pc-windows-gnu", 489 - ] 490 - 491 - [[package]] 492 - name = "winapi-i686-pc-windows-gnu" 493 - version = "0.4.0" 494 - source = "registry+https://github.com/rust-lang/crates.io-index" 495 - checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 496 - 497 - [[package]] 498 - name = "winapi-x86_64-pc-windows-gnu" 499 - version = "0.4.0" 500 - source = "registry+https://github.com/rust-lang/crates.io-index" 501 - checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 502 - 503 - [[package]] 504 - name = "zeroize" 505 - version = "1.5.7" 506 - source = "registry+https://github.com/rust-lang/crates.io-index" 507 - checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" 508 - dependencies = [ 509 - "zeroize_derive", 510 - ] 511 - 512 - [[package]] 513 - name = "zeroize_derive" 514 - version = "1.3.3" 515 - source = "registry+https://github.com/rust-lang/crates.io-index" 516 - checksum = "44bf07cb3e50ea2003396695d58bf46bc9887a1f362260446fad6bc4e79bd36c" 517 - dependencies = [ 518 - "proc-macro2", 519 - "quote", 520 - "syn", 521 - "synstructure", 522 - ]
+7 -9
pkgs/development/python-modules/py-sr25519-bindings/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "py-sr25519-bindings"; 14 - version = "0.2.0"; 14 + version = "unstable-2023-03-15"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.6"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "polkascan"; 21 21 repo = "py-sr25519-bindings"; 22 - rev = "refs/tags/v${version}"; 23 - hash = "sha256-Lu3J0+YeQHHKItOZTT24DlQAUJuE9fd+py6Eb46/MSE="; 22 + rev = "9127501235bf291d7f14f00ec373d0a5000a32cb"; 23 + hash = "sha256-mxNmiFvMbV9WQhGNIQXxTkOcJHYs0vyOPM6Nd5367RE="; 24 24 }; 25 25 26 - cargoDeps = rustPlatform.importCargoLock { 27 - lockFile = ./Cargo.lock; 26 + cargoDeps = rustPlatform.fetchCargoTarball { 27 + inherit src; 28 + name = "${pname}-${version}"; 29 + hash = "sha256-7fDlEYWOiRVpG3q0n3ZSS1dfNCOh0/4pX/PbcDBvoMI="; 28 30 }; 29 - 30 - postPatch = '' 31 - cp ${./Cargo.lock} Cargo.lock 32 - ''; 33 31 34 32 nativeBuildInputs = with rustPlatform; [ 35 33 cargoSetupHook