lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.dbt-extractor: init at 0.4.1

Co-Authored-By: Mauricio Scheffer <mauricioscheffer@gmail.com>

+582
+531
pkgs/development/python-modules/dbt-extractor/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 = "aho-corasick" 7 + version = "0.7.18" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" 10 + dependencies = [ 11 + "memchr", 12 + ] 13 + 14 + [[package]] 15 + name = "autocfg" 16 + version = "1.0.1" 17 + source = "registry+https://github.com/rust-lang/crates.io-index" 18 + checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" 19 + 20 + [[package]] 21 + name = "bitflags" 22 + version = "1.3.2" 23 + source = "registry+https://github.com/rust-lang/crates.io-index" 24 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 25 + 26 + [[package]] 27 + name = "cc" 28 + version = "1.0.69" 29 + source = "registry+https://github.com/rust-lang/crates.io-index" 30 + checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2" 31 + 32 + [[package]] 33 + name = "cfg-if" 34 + version = "1.0.0" 35 + source = "registry+https://github.com/rust-lang/crates.io-index" 36 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 37 + 38 + [[package]] 39 + name = "crossbeam-channel" 40 + version = "0.5.1" 41 + source = "registry+https://github.com/rust-lang/crates.io-index" 42 + checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4" 43 + dependencies = [ 44 + "cfg-if", 45 + "crossbeam-utils", 46 + ] 47 + 48 + [[package]] 49 + name = "crossbeam-deque" 50 + version = "0.8.1" 51 + source = "registry+https://github.com/rust-lang/crates.io-index" 52 + checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" 53 + dependencies = [ 54 + "cfg-if", 55 + "crossbeam-epoch", 56 + "crossbeam-utils", 57 + ] 58 + 59 + [[package]] 60 + name = "crossbeam-epoch" 61 + version = "0.9.5" 62 + source = "registry+https://github.com/rust-lang/crates.io-index" 63 + checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" 64 + dependencies = [ 65 + "cfg-if", 66 + "crossbeam-utils", 67 + "lazy_static", 68 + "memoffset", 69 + "scopeguard", 70 + ] 71 + 72 + [[package]] 73 + name = "crossbeam-utils" 74 + version = "0.8.5" 75 + source = "registry+https://github.com/rust-lang/crates.io-index" 76 + checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db" 77 + dependencies = [ 78 + "cfg-if", 79 + "lazy_static", 80 + ] 81 + 82 + [[package]] 83 + name = "dbt-extractor" 84 + version = "0.4.1" 85 + dependencies = [ 86 + "pyo3", 87 + "quickcheck", 88 + "quickcheck_macros", 89 + "rayon", 90 + "thiserror", 91 + "tree-sitter", 92 + "tree-sitter-jinja2", 93 + ] 94 + 95 + [[package]] 96 + name = "either" 97 + version = "1.6.1" 98 + source = "registry+https://github.com/rust-lang/crates.io-index" 99 + checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" 100 + 101 + [[package]] 102 + name = "env_logger" 103 + version = "0.8.4" 104 + source = "registry+https://github.com/rust-lang/crates.io-index" 105 + checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" 106 + dependencies = [ 107 + "log", 108 + "regex", 109 + ] 110 + 111 + [[package]] 112 + name = "getrandom" 113 + version = "0.2.3" 114 + source = "registry+https://github.com/rust-lang/crates.io-index" 115 + checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" 116 + dependencies = [ 117 + "cfg-if", 118 + "libc", 119 + "wasi", 120 + ] 121 + 122 + [[package]] 123 + name = "hermit-abi" 124 + version = "0.1.19" 125 + source = "registry+https://github.com/rust-lang/crates.io-index" 126 + checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 127 + dependencies = [ 128 + "libc", 129 + ] 130 + 131 + [[package]] 132 + name = "indoc" 133 + version = "0.3.6" 134 + source = "registry+https://github.com/rust-lang/crates.io-index" 135 + checksum = "47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8" 136 + dependencies = [ 137 + "indoc-impl", 138 + "proc-macro-hack", 139 + ] 140 + 141 + [[package]] 142 + name = "indoc-impl" 143 + version = "0.3.6" 144 + source = "registry+https://github.com/rust-lang/crates.io-index" 145 + checksum = "ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0" 146 + dependencies = [ 147 + "proc-macro-hack", 148 + "proc-macro2", 149 + "quote", 150 + "syn", 151 + "unindent", 152 + ] 153 + 154 + [[package]] 155 + name = "instant" 156 + version = "0.1.10" 157 + source = "registry+https://github.com/rust-lang/crates.io-index" 158 + checksum = "bee0328b1209d157ef001c94dd85b4f8f64139adb0eac2659f4b08382b2f474d" 159 + dependencies = [ 160 + "cfg-if", 161 + ] 162 + 163 + [[package]] 164 + name = "lazy_static" 165 + version = "1.4.0" 166 + source = "registry+https://github.com/rust-lang/crates.io-index" 167 + checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 168 + 169 + [[package]] 170 + name = "libc" 171 + version = "0.2.101" 172 + source = "registry+https://github.com/rust-lang/crates.io-index" 173 + checksum = "3cb00336871be5ed2c8ed44b60ae9959dc5b9f08539422ed43f09e34ecaeba21" 174 + 175 + [[package]] 176 + name = "lock_api" 177 + version = "0.4.4" 178 + source = "registry+https://github.com/rust-lang/crates.io-index" 179 + checksum = "0382880606dff6d15c9476c416d18690b72742aa7b605bb6dd6ec9030fbf07eb" 180 + dependencies = [ 181 + "scopeguard", 182 + ] 183 + 184 + [[package]] 185 + name = "log" 186 + version = "0.4.14" 187 + source = "registry+https://github.com/rust-lang/crates.io-index" 188 + checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" 189 + dependencies = [ 190 + "cfg-if", 191 + ] 192 + 193 + [[package]] 194 + name = "memchr" 195 + version = "2.4.1" 196 + source = "registry+https://github.com/rust-lang/crates.io-index" 197 + checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" 198 + 199 + [[package]] 200 + name = "memoffset" 201 + version = "0.6.4" 202 + source = "registry+https://github.com/rust-lang/crates.io-index" 203 + checksum = "59accc507f1338036a0477ef61afdae33cde60840f4dfe481319ce3ad116ddf9" 204 + dependencies = [ 205 + "autocfg", 206 + ] 207 + 208 + [[package]] 209 + name = "num_cpus" 210 + version = "1.13.0" 211 + source = "registry+https://github.com/rust-lang/crates.io-index" 212 + checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3" 213 + dependencies = [ 214 + "hermit-abi", 215 + "libc", 216 + ] 217 + 218 + [[package]] 219 + name = "once_cell" 220 + version = "1.9.0" 221 + source = "registry+https://github.com/rust-lang/crates.io-index" 222 + checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5" 223 + 224 + [[package]] 225 + name = "parking_lot" 226 + version = "0.11.1" 227 + source = "registry+https://github.com/rust-lang/crates.io-index" 228 + checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb" 229 + dependencies = [ 230 + "instant", 231 + "lock_api", 232 + "parking_lot_core", 233 + ] 234 + 235 + [[package]] 236 + name = "parking_lot_core" 237 + version = "0.8.3" 238 + source = "registry+https://github.com/rust-lang/crates.io-index" 239 + checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018" 240 + dependencies = [ 241 + "cfg-if", 242 + "instant", 243 + "libc", 244 + "redox_syscall", 245 + "smallvec", 246 + "winapi", 247 + ] 248 + 249 + [[package]] 250 + name = "paste" 251 + version = "0.1.18" 252 + source = "registry+https://github.com/rust-lang/crates.io-index" 253 + checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880" 254 + dependencies = [ 255 + "paste-impl", 256 + "proc-macro-hack", 257 + ] 258 + 259 + [[package]] 260 + name = "paste-impl" 261 + version = "0.1.18" 262 + source = "registry+https://github.com/rust-lang/crates.io-index" 263 + checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6" 264 + dependencies = [ 265 + "proc-macro-hack", 266 + ] 267 + 268 + [[package]] 269 + name = "proc-macro-hack" 270 + version = "0.5.19" 271 + source = "registry+https://github.com/rust-lang/crates.io-index" 272 + checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5" 273 + 274 + [[package]] 275 + name = "proc-macro2" 276 + version = "1.0.28" 277 + source = "registry+https://github.com/rust-lang/crates.io-index" 278 + checksum = "5c7ed8b8c7b886ea3ed7dde405212185f423ab44682667c8c6dd14aa1d9f6612" 279 + dependencies = [ 280 + "unicode-xid", 281 + ] 282 + 283 + [[package]] 284 + name = "pyo3" 285 + version = "0.15.1" 286 + source = "registry+https://github.com/rust-lang/crates.io-index" 287 + checksum = "7cf01dbf1c05af0a14c7779ed6f3aa9deac9c3419606ac9de537a2d649005720" 288 + dependencies = [ 289 + "cfg-if", 290 + "indoc", 291 + "libc", 292 + "parking_lot", 293 + "paste", 294 + "pyo3-build-config", 295 + "pyo3-macros", 296 + "unindent", 297 + ] 298 + 299 + [[package]] 300 + name = "pyo3-build-config" 301 + version = "0.15.1" 302 + source = "registry+https://github.com/rust-lang/crates.io-index" 303 + checksum = "dbf9e4d128bfbddc898ad3409900080d8d5095c379632fbbfbb9c8cfb1fb852b" 304 + dependencies = [ 305 + "once_cell", 306 + ] 307 + 308 + [[package]] 309 + name = "pyo3-macros" 310 + version = "0.15.1" 311 + source = "registry+https://github.com/rust-lang/crates.io-index" 312 + checksum = "67701eb32b1f9a9722b4bc54b548ff9d7ebfded011c12daece7b9063be1fd755" 313 + dependencies = [ 314 + "pyo3-macros-backend", 315 + "quote", 316 + "syn", 317 + ] 318 + 319 + [[package]] 320 + name = "pyo3-macros-backend" 321 + version = "0.15.1" 322 + source = "registry+https://github.com/rust-lang/crates.io-index" 323 + checksum = "f44f09e825ee49a105f2c7b23ebee50886a9aee0746f4dd5a704138a64b0218a" 324 + dependencies = [ 325 + "proc-macro2", 326 + "pyo3-build-config", 327 + "quote", 328 + "syn", 329 + ] 330 + 331 + [[package]] 332 + name = "quickcheck" 333 + version = "1.0.3" 334 + source = "registry+https://github.com/rust-lang/crates.io-index" 335 + checksum = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6" 336 + dependencies = [ 337 + "env_logger", 338 + "log", 339 + "rand", 340 + ] 341 + 342 + [[package]] 343 + name = "quickcheck_macros" 344 + version = "1.0.0" 345 + source = "registry+https://github.com/rust-lang/crates.io-index" 346 + checksum = "b22a693222d716a9587786f37ac3f6b4faedb5b80c23914e7303ff5a1d8016e9" 347 + dependencies = [ 348 + "proc-macro2", 349 + "quote", 350 + "syn", 351 + ] 352 + 353 + [[package]] 354 + name = "quote" 355 + version = "1.0.9" 356 + source = "registry+https://github.com/rust-lang/crates.io-index" 357 + checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" 358 + dependencies = [ 359 + "proc-macro2", 360 + ] 361 + 362 + [[package]] 363 + name = "rand" 364 + version = "0.8.4" 365 + source = "registry+https://github.com/rust-lang/crates.io-index" 366 + checksum = "2e7573632e6454cf6b99d7aac4ccca54be06da05aca2ef7423d22d27d4d4bcd8" 367 + dependencies = [ 368 + "rand_core", 369 + ] 370 + 371 + [[package]] 372 + name = "rand_core" 373 + version = "0.6.3" 374 + source = "registry+https://github.com/rust-lang/crates.io-index" 375 + checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" 376 + dependencies = [ 377 + "getrandom", 378 + ] 379 + 380 + [[package]] 381 + name = "rayon" 382 + version = "1.5.1" 383 + source = "registry+https://github.com/rust-lang/crates.io-index" 384 + checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90" 385 + dependencies = [ 386 + "autocfg", 387 + "crossbeam-deque", 388 + "either", 389 + "rayon-core", 390 + ] 391 + 392 + [[package]] 393 + name = "rayon-core" 394 + version = "1.9.1" 395 + source = "registry+https://github.com/rust-lang/crates.io-index" 396 + checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e" 397 + dependencies = [ 398 + "crossbeam-channel", 399 + "crossbeam-deque", 400 + "crossbeam-utils", 401 + "lazy_static", 402 + "num_cpus", 403 + ] 404 + 405 + [[package]] 406 + name = "redox_syscall" 407 + version = "0.2.10" 408 + source = "registry+https://github.com/rust-lang/crates.io-index" 409 + checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff" 410 + dependencies = [ 411 + "bitflags", 412 + ] 413 + 414 + [[package]] 415 + name = "regex" 416 + version = "1.5.4" 417 + source = "registry+https://github.com/rust-lang/crates.io-index" 418 + checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" 419 + dependencies = [ 420 + "aho-corasick", 421 + "memchr", 422 + "regex-syntax", 423 + ] 424 + 425 + [[package]] 426 + name = "regex-syntax" 427 + version = "0.6.25" 428 + source = "registry+https://github.com/rust-lang/crates.io-index" 429 + checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" 430 + 431 + [[package]] 432 + name = "scopeguard" 433 + version = "1.1.0" 434 + source = "registry+https://github.com/rust-lang/crates.io-index" 435 + checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 436 + 437 + [[package]] 438 + name = "smallvec" 439 + version = "1.6.1" 440 + source = "registry+https://github.com/rust-lang/crates.io-index" 441 + checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" 442 + 443 + [[package]] 444 + name = "syn" 445 + version = "1.0.75" 446 + source = "registry+https://github.com/rust-lang/crates.io-index" 447 + checksum = "b7f58f7e8eaa0009c5fec437aabf511bd9933e4b2d7407bd05273c01a8906ea7" 448 + dependencies = [ 449 + "proc-macro2", 450 + "quote", 451 + "unicode-xid", 452 + ] 453 + 454 + [[package]] 455 + name = "thiserror" 456 + version = "1.0.26" 457 + source = "registry+https://github.com/rust-lang/crates.io-index" 458 + checksum = "93119e4feac1cbe6c798c34d3a53ea0026b0b1de6a120deef895137c0529bfe2" 459 + dependencies = [ 460 + "thiserror-impl", 461 + ] 462 + 463 + [[package]] 464 + name = "thiserror-impl" 465 + version = "1.0.26" 466 + source = "registry+https://github.com/rust-lang/crates.io-index" 467 + checksum = "060d69a0afe7796bf42e9e2ff91f5ee691fb15c53d38b4b62a9a53eb23164745" 468 + dependencies = [ 469 + "proc-macro2", 470 + "quote", 471 + "syn", 472 + ] 473 + 474 + [[package]] 475 + name = "tree-sitter" 476 + version = "0.19.5" 477 + source = "registry+https://github.com/rust-lang/crates.io-index" 478 + checksum = "ad726ec26496bf4c083fff0f43d4eb3a2ad1bba305323af5ff91383c0b6ecac0" 479 + dependencies = [ 480 + "cc", 481 + "regex", 482 + ] 483 + 484 + [[package]] 485 + name = "tree-sitter-jinja2" 486 + version = "0.1.0" 487 + source = "git+https://github.com/dbt-labs/tree-sitter-jinja2?tag=v0.1.0#52da7b0b1480b23381ea84cf5ea3bf058dd6d8c4" 488 + dependencies = [ 489 + "cc", 490 + "tree-sitter", 491 + ] 492 + 493 + [[package]] 494 + name = "unicode-xid" 495 + version = "0.2.2" 496 + source = "registry+https://github.com/rust-lang/crates.io-index" 497 + checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" 498 + 499 + [[package]] 500 + name = "unindent" 501 + version = "0.1.7" 502 + source = "registry+https://github.com/rust-lang/crates.io-index" 503 + checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7" 504 + 505 + [[package]] 506 + name = "wasi" 507 + version = "0.10.2+wasi-snapshot-preview1" 508 + source = "registry+https://github.com/rust-lang/crates.io-index" 509 + checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" 510 + 511 + [[package]] 512 + name = "winapi" 513 + version = "0.3.9" 514 + source = "registry+https://github.com/rust-lang/crates.io-index" 515 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 516 + dependencies = [ 517 + "winapi-i686-pc-windows-gnu", 518 + "winapi-x86_64-pc-windows-gnu", 519 + ] 520 + 521 + [[package]] 522 + name = "winapi-i686-pc-windows-gnu" 523 + version = "0.4.0" 524 + source = "registry+https://github.com/rust-lang/crates.io-index" 525 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 526 + 527 + [[package]] 528 + name = "winapi-x86_64-pc-windows-gnu" 529 + version = "0.4.0" 530 + source = "registry+https://github.com/rust-lang/crates.io-index" 531 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+49
pkgs/development/python-modules/dbt-extractor/default.nix
··· 1 + { stdenv 2 + , lib 3 + , buildPythonPackage 4 + , fetchPypi 5 + , rustPlatform 6 + , libiconv 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "dbt-extractor"; 11 + version = "0.4.1"; 12 + format = "setuptools"; 13 + 14 + src = fetchPypi { 15 + pname = "dbt_extractor"; 16 + inherit version; 17 + hash = "sha256-dbHGZWmewPH/zhuj13b3386AIVbyLnCnucjwtNfoD0I="; 18 + }; 19 + 20 + cargoDeps = rustPlatform.importCargoLock { 21 + lockFile = ./Cargo.lock; 22 + outputHashes = { 23 + "tree-sitter-jinja2-0.1.0" = "sha256-lzA2iq4AK0iNwkLvbIt7Jm5WGFbMPFDi6i4AFDm0FOU="; 24 + }; 25 + }; 26 + 27 + nativeBuildInputs = [ 28 + rustPlatform.cargoSetupHook 29 + rustPlatform.maturinBuildHook 30 + ]; 31 + 32 + buildInputs = lib.optionals stdenv.isDarwin [ 33 + libiconv 34 + ]; 35 + 36 + # no python tests exist 37 + doCheck = false; 38 + 39 + pythonImportsCheck = [ 40 + "dbt_extractor" 41 + ]; 42 + 43 + meta = with lib; { 44 + description = "A tool that processes the most common jinja value templates in dbt model files"; 45 + homepage = "https://github.com/dbt-labs/dbt-extractor"; 46 + license = licenses.asl20; 47 + maintainers = with maintainers; [ mausch tjni ]; 48 + }; 49 + }
+2
pkgs/top-level/python-packages.nix
··· 2465 2465 2466 2466 dbfread = callPackage ../development/python-modules/dbfread { }; 2467 2467 2468 + dbt-extractor = callPackage ../development/python-modules/dbt-extractor { }; 2469 + 2468 2470 dbus-client-gen = callPackage ../development/python-modules/dbus-client-gen { }; 2469 2471 2470 2472 dbus-deviation = callPackage ../development/python-modules/dbus-deviation { };