Merge pull request #108522 from 0x4A6F/master-tumpa

Sandro f0a7fce6 c7d8d75e

Changed files
+1328
pkgs
development
python-modules
johnnycanencrypt
tumpa
top-level
+1194
pkgs/development/python-modules/johnnycanencrypt/Cargo.lock.patch
···
+
diff --git a/Cargo.lock b/Cargo.lock
+
new file mode 100644
+
index 0000000..84c37bc
+
--- /dev/null
+
+++ b/Cargo.lock
+
@@ -0,0 +1,1188 @@
+
+# This file is automatically @generated by Cargo.
+
+# It is not intended for manual editing.
+
+[[package]]
+
+name = "addr2line"
+
+version = "0.14.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "a55f82cfe485775d02112886f4169bde0c5894d75e79ead7eafe7e40a25e45f7"
+
+dependencies = [
+
+ "gimli",
+
+]
+
+
+
+[[package]]
+
+name = "adler"
+
+version = "0.2.3"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
+
+
+
+[[package]]
+
+name = "aead"
+
+version = "0.3.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "7fc95d1bdb8e6666b2b217308eeeb09f2d6728d104be3e31916cc74d15420331"
+
+dependencies = [
+
+ "generic-array",
+
+]
+
+
+
+[[package]]
+
+name = "aho-corasick"
+
+version = "0.7.15"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "7404febffaa47dac81aa44dba71523c9d069b1bdc50a77db41195149e17f68e5"
+
+dependencies = [
+
+ "memchr",
+
+]
+
+
+
+[[package]]
+
+name = "anyhow"
+
+version = "1.0.37"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "ee67c11feeac938fae061b232e38e0b6d94f97a9df10e6271319325ac4c56a86"
+
+
+
+[[package]]
+
+name = "arrayref"
+
+version = "0.3.6"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544"
+
+
+
+[[package]]
+
+name = "arrayvec"
+
+version = "0.5.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
+
+
+
+[[package]]
+
+name = "ascii-canvas"
+
+version = "2.0.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "ff8eb72df928aafb99fe5d37b383f2fe25bd2a765e3e5f7c365916b6f2463a29"
+
+dependencies = [
+
+ "term",
+
+]
+
+
+
+[[package]]
+
+name = "atty"
+
+version = "0.2.14"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
+
+dependencies = [
+
+ "hermit-abi",
+
+ "libc",
+
+ "winapi",
+
+]
+
+
+
+[[package]]
+
+name = "autocfg"
+
+version = "1.0.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
+
+
+
+[[package]]
+
+name = "backtrace"
+
+version = "0.3.55"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "ef5140344c85b01f9bbb4d4b7288a8aa4b3287ccef913a14bcc78a1063623598"
+
+dependencies = [
+
+ "addr2line",
+
+ "cfg-if 1.0.0",
+
+ "libc",
+
+ "miniz_oxide",
+
+ "object",
+
+ "rustc-demangle",
+
+]
+
+
+
+[[package]]
+
+name = "base64"
+
+version = "0.13.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
+
+
+
+[[package]]
+
+name = "bindgen"
+
+version = "0.51.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "ebd71393f1ec0509b553aa012b9b58e81dadbdff7130bd3b8cba576e69b32f75"
+
+dependencies = [
+
+ "bitflags",
+
+ "cexpr",
+
+ "cfg-if 0.1.10",
+
+ "clang-sys",
+
+ "lazy_static",
+
+ "peeking_take_while",
+
+ "proc-macro2",
+
+ "quote",
+
+ "regex",
+
+ "rustc-hash",
+
+ "shlex",
+
+]
+
+
+
+[[package]]
+
+name = "bit-set"
+
+version = "0.5.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "6e11e16035ea35e4e5997b393eacbf6f63983188f7a2ad25bfb13465f5ad59de"
+
+dependencies = [
+
+ "bit-vec",
+
+]
+
+
+
+[[package]]
+
+name = "bit-vec"
+
+version = "0.6.3"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
+
+
+
+[[package]]
+
+name = "bitflags"
+
+version = "1.2.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
+
+
+
+[[package]]
+
+name = "blake2b_simd"
+
+version = "0.5.11"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587"
+
+dependencies = [
+
+ "arrayref",
+
+ "arrayvec",
+
+ "constant_time_eq",
+
+]
+
+
+
+[[package]]
+
+name = "buffered-reader"
+
+version = "1.0.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "f5711ccfa79a8167779ad2176d3334078f03b1579ddf8f42aa556196eba60a42"
+
+dependencies = [
+
+ "bzip2",
+
+ "flate2",
+
+ "libc",
+
+]
+
+
+
+[[package]]
+
+name = "byteorder"
+
+version = "1.3.4"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
+
+
+
+[[package]]
+
+name = "bzip2"
+
+version = "0.4.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "275d84fe348b838dc49477d39770682839b3e73e21a3eadc07b12924f1a9fcbe"
+
+dependencies = [
+
+ "bzip2-sys",
+
+ "libc",
+
+]
+
+
+
+[[package]]
+
+name = "bzip2-sys"
+
+version = "0.1.9+1.0.8"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "ad3b39a260062fca31f7b0b12f207e8f2590a67d32ec7d59c20484b07ea7285e"
+
+dependencies = [
+
+ "cc",
+
+ "libc",
+
+ "pkg-config",
+
+]
+
+
+
+[[package]]
+
+name = "cc"
+
+version = "1.0.66"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "4c0496836a84f8d0495758516b8621a622beb77c0fed418570e50764093ced48"
+
+
+
+[[package]]
+
+name = "cexpr"
+
+version = "0.3.6"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "fce5b5fb86b0c57c20c834c1b412fd09c77c8a59b9473f86272709e78874cd1d"
+
+dependencies = [
+
+ "nom",
+
+]
+
+
+
+[[package]]
+
+name = "cfg-if"
+
+version = "0.1.10"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
+
+
+
+[[package]]
+
+name = "cfg-if"
+
+version = "1.0.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+
+
+[[package]]
+
+name = "chrono"
+
+version = "0.4.19"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
+
+dependencies = [
+
+ "libc",
+
+ "num-integer",
+
+ "num-traits",
+
+ "time",
+
+ "winapi",
+
+]
+
+
+
+[[package]]
+
+name = "cipher"
+
+version = "0.2.5"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "12f8e7987cbd042a63249497f41aed09f8e65add917ea6566effbc56578d6801"
+
+dependencies = [
+
+ "generic-array",
+
+]
+
+
+
+[[package]]
+
+name = "clang-sys"
+
+version = "0.28.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "81de550971c976f176130da4b2978d3b524eaa0fd9ac31f3ceb5ae1231fb4853"
+
+dependencies = [
+
+ "glob",
+
+ "libc",
+
+ "libloading",
+
+]
+
+
+
+[[package]]
+
+name = "cmac"
+
+version = "0.5.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "73d4de4f7724e5fe70addfb2bd37c2abd2f95084a429d7773b0b9645499b4272"
+
+dependencies = [
+
+ "crypto-mac",
+
+ "dbl",
+
+]
+
+
+
+[[package]]
+
+name = "constant_time_eq"
+
+version = "0.1.5"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
+
+
+
+[[package]]
+
+name = "crc32fast"
+
+version = "1.2.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"
+
+dependencies = [
+
+ "cfg-if 1.0.0",
+
+]
+
+
+
+[[package]]
+
+name = "crossbeam-utils"
+
+version = "0.8.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "02d96d1e189ef58269ebe5b97953da3274d83a93af647c2ddd6f9dab28cedb8d"
+
+dependencies = [
+
+ "autocfg",
+
+ "cfg-if 1.0.0",
+
+ "lazy_static",
+
+]
+
+
+
+[[package]]
+
+name = "crunchy"
+
+version = "0.2.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
+
+
+
+[[package]]
+
+name = "crypto-mac"
+
+version = "0.10.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "4857fd85a0c34b3c3297875b747c1e02e06b6a0ea32dd892d8192b9ce0813ea6"
+
+dependencies = [
+
+ "cipher",
+
+ "generic-array",
+
+ "subtle",
+
+]
+
+
+
+[[package]]
+
+name = "ctor"
+
+version = "0.1.17"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "373c88d9506e2e9230f6107701b7d8425f4cb3f6df108ec3042a26e936666da5"
+
+dependencies = [
+
+ "quote",
+
+ "syn",
+
+]
+
+
+
+[[package]]
+
+name = "ctr"
+
+version = "0.6.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "fb4a30d54f7443bf3d6191dcd486aca19e67cb3c49fa7a06a319966346707e7f"
+
+dependencies = [
+
+ "cipher",
+
+]
+
+
+
+[[package]]
+
+name = "dbl"
+
+version = "0.3.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "2735145c3b9ba15f2d7a3ae8cdafcbc8c98a7bef7f62afe9d08bd99fbf7130de"
+
+dependencies = [
+
+ "generic-array",
+
+]
+
+
+
+[[package]]
+
+name = "diff"
+
+version = "0.1.12"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499"
+
+
+
+[[package]]
+
+name = "digest"
+
+version = "0.9.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
+
+dependencies = [
+
+ "generic-array",
+
+]
+
+
+
+[[package]]
+
+name = "dirs"
+
+version = "1.0.5"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "3fd78930633bd1c6e35c4b42b1df7b0cbc6bc191146e512bb3bedf243fcc3901"
+
+dependencies = [
+
+ "libc",
+
+ "redox_users",
+
+ "winapi",
+
+]
+
+
+
+[[package]]
+
+name = "dyn-clone"
+
+version = "1.0.4"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf"
+
+
+
+[[package]]
+
+name = "eax"
+
+version = "0.3.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "e1f76e7a5e594b299a0fa9a99de627530725e341df41376aa342aecb2c5eb76e"
+
+dependencies = [
+
+ "aead",
+
+ "cipher",
+
+ "cmac",
+
+ "ctr",
+
+ "subtle",
+
+]
+
+
+
+[[package]]
+
+name = "either"
+
+version = "1.6.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
+
+
+
+[[package]]
+
+name = "ena"
+
+version = "0.14.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3"
+
+dependencies = [
+
+ "log",
+
+]
+
+
+
+[[package]]
+
+name = "fixedbitset"
+
+version = "0.2.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d"
+
+
+
+[[package]]
+
+name = "flate2"
+
+version = "1.0.19"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "7411863d55df97a419aa64cb4d2f167103ea9d767e2c54a1868b7ac3f6b47129"
+
+dependencies = [
+
+ "cfg-if 1.0.0",
+
+ "crc32fast",
+
+ "libc",
+
+ "miniz_oxide",
+
+]
+
+
+
+[[package]]
+
+name = "generic-array"
+
+version = "0.14.4"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817"
+
+dependencies = [
+
+ "typenum",
+
+ "version_check 0.9.2",
+
+]
+
+
+
+[[package]]
+
+name = "getrandom"
+
+version = "0.1.16"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
+
+dependencies = [
+
+ "cfg-if 1.0.0",
+
+ "libc",
+
+ "wasi 0.9.0+wasi-snapshot-preview1",
+
+]
+
+
+
+[[package]]
+
+name = "ghost"
+
+version = "0.1.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "1a5bcf1bbeab73aa4cf2fde60a846858dc036163c7c33bec309f8d17de785479"
+
+dependencies = [
+
+ "proc-macro2",
+
+ "quote",
+
+ "syn",
+
+]
+
+
+
+[[package]]
+
+name = "gimli"
+
+version = "0.23.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "f6503fe142514ca4799d4c26297c4248239fe8838d827db6bd6065c6ed29a6ce"
+
+
+
+[[package]]
+
+name = "glob"
+
+version = "0.3.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
+
+
+
+[[package]]
+
+name = "hashbrown"
+
+version = "0.9.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
+
+
+
+[[package]]
+
+name = "hermit-abi"
+
+version = "0.1.17"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "5aca5565f760fb5b220e499d72710ed156fdb74e631659e99377d9ebfbd13ae8"
+
+dependencies = [
+
+ "libc",
+
+]
+
+
+
+[[package]]
+
+name = "idna"
+
+version = "0.2.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9"
+
+dependencies = [
+
+ "matches",
+
+ "unicode-bidi",
+
+ "unicode-normalization",
+
+]
+
+
+
+[[package]]
+
+name = "indexmap"
+
+version = "1.6.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "4fb1fa934250de4de8aef298d81c729a7d33d8c239daa3a7575e6b92bfc7313b"
+
+dependencies = [
+
+ "autocfg",
+
+ "hashbrown",
+
+]
+
+
+
+[[package]]
+
+name = "indoc"
+
+version = "1.0.3"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "e5a75aeaaef0ce18b58056d306c27b07436fbb34b8816c53094b76dd81803136"
+
+dependencies = [
+
+ "unindent",
+
+]
+
+
+
+[[package]]
+
+name = "instant"
+
+version = "0.1.9"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec"
+
+dependencies = [
+
+ "cfg-if 1.0.0",
+
+]
+
+
+
+[[package]]
+
+name = "inventory"
+
+version = "0.1.10"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "0f0f7efb804ec95e33db9ad49e4252f049e37e8b0a4652e3cd61f7999f2eff7f"
+
+dependencies = [
+
+ "ctor",
+
+ "ghost",
+
+ "inventory-impl",
+
+]
+
+
+
+[[package]]
+
+name = "inventory-impl"
+
+version = "0.1.10"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "75c094e94816723ab936484666968f5b58060492e880f3c8d00489a1e244fa51"
+
+dependencies = [
+
+ "proc-macro2",
+
+ "quote",
+
+ "syn",
+
+]
+
+
+
+[[package]]
+
+name = "itertools"
+
+version = "0.9.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b"
+
+dependencies = [
+
+ "either",
+
+]
+
+
+
+[[package]]
+
+name = "johnnycanencrypt"
+
+version = "0.5.0"
+
+dependencies = [
+
+ "anyhow",
+
+ "chrono",
+
+ "pyo3",
+
+ "sequoia-openpgp",
+
+ "talktosc",
+
+]
+
+
+
+[[package]]
+
+name = "lalrpop"
+
+version = "0.19.3"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "5c64e04d8ea9c95c2135dfc4298088eafaf956bc90ba372eb1bea4f715634587"
+
+dependencies = [
+
+ "ascii-canvas",
+
+ "atty",
+
+ "bit-set",
+
+ "diff",
+
+ "ena",
+
+ "itertools",
+
+ "lalrpop-util",
+
+ "petgraph",
+
+ "pico-args",
+
+ "regex",
+
+ "regex-syntax",
+
+ "string_cache",
+
+ "term",
+
+ "tiny-keccak",
+
+ "unicode-xid",
+
+]
+
+
+
+[[package]]
+
+name = "lalrpop-util"
+
+version = "0.19.3"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "f9de203e2fa3e883364fcc778a1293ab4d936f6cff400433013c20105df178c5"
+
+dependencies = [
+
+ "regex",
+
+]
+
+
+
+[[package]]
+
+name = "lazy_static"
+
+version = "1.4.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+
+
+[[package]]
+
+name = "libc"
+
+version = "0.2.81"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "1482821306169ec4d07f6aca392a4681f66c75c9918aa49641a2595db64053cb"
+
+
+
+[[package]]
+
+name = "libloading"
+
+version = "0.5.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753"
+
+dependencies = [
+
+ "cc",
+
+ "winapi",
+
+]
+
+
+
+[[package]]
+
+name = "lock_api"
+
+version = "0.4.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "dd96ffd135b2fd7b973ac026d28085defbe8983df057ced3eb4f2130b0831312"
+
+dependencies = [
+
+ "scopeguard",
+
+]
+
+
+
+[[package]]
+
+name = "log"
+
+version = "0.4.11"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b"
+
+dependencies = [
+
+ "cfg-if 0.1.10",
+
+]
+
+
+
+[[package]]
+
+name = "matches"
+
+version = "0.1.8"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
+
+
+
+[[package]]
+
+name = "memchr"
+
+version = "2.3.4"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525"
+
+
+
+[[package]]
+
+name = "memsec"
+
+version = "0.6.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "2af4f95d8737f4ffafbd1fb3c703cdc898868a244a59786793cba0520ebdcbdd"
+
+
+
+[[package]]
+
+name = "miniz_oxide"
+
+version = "0.4.3"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "0f2d26ec3309788e423cfbf68ad1800f061638098d76a83681af979dc4eda19d"
+
+dependencies = [
+
+ "adler",
+
+ "autocfg",
+
+]
+
+
+
+[[package]]
+
+name = "nettle"
+
+version = "7.0.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "b1afae85450b829ad720f2827e3b07d78e06b5521cfe5ed72808a9f593e7cdd8"
+
+dependencies = [
+
+ "getrandom",
+
+ "libc",
+
+ "nettle-sys",
+
+ "thiserror",
+
+]
+
+
+
+[[package]]
+
+name = "nettle-sys"
+
+version = "2.0.4"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "b8629333ff5f3b74d251dae253e383cda9242410fac4244a4fe855469be101fb"
+
+dependencies = [
+
+ "bindgen",
+
+ "pkg-config",
+
+]
+
+
+
+[[package]]
+
+name = "new_debug_unreachable"
+
+version = "1.0.4"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
+
+
+
+[[package]]
+
+name = "nom"
+
+version = "4.2.3"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6"
+
+dependencies = [
+
+ "memchr",
+
+ "version_check 0.1.5",
+
+]
+
+
+
+[[package]]
+
+name = "num-integer"
+
+version = "0.1.44"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
+
+dependencies = [
+
+ "autocfg",
+
+ "num-traits",
+
+]
+
+
+
+[[package]]
+
+name = "num-traits"
+
+version = "0.2.14"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
+
+dependencies = [
+
+ "autocfg",
+
+]
+
+
+
+[[package]]
+
+name = "object"
+
+version = "0.22.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "8d3b63360ec3cb337817c2dbd47ab4a0f170d285d8e5a2064600f3def1402397"
+
+
+
+[[package]]
+
+name = "parking_lot"
+
+version = "0.11.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb"
+
+dependencies = [
+
+ "instant",
+
+ "lock_api",
+
+ "parking_lot_core",
+
+]
+
+
+
+[[package]]
+
+name = "parking_lot_core"
+
+version = "0.8.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "9ccb628cad4f84851442432c60ad8e1f607e29752d0bf072cbd0baf28aa34272"
+
+dependencies = [
+
+ "cfg-if 1.0.0",
+
+ "instant",
+
+ "libc",
+
+ "redox_syscall",
+
+ "smallvec",
+
+ "winapi",
+
+]
+
+
+
+[[package]]
+
+name = "paste"
+
+version = "1.0.4"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "c5d65c4d95931acda4498f675e332fcbdc9a06705cd07086c510e9b6009cd1c1"
+
+
+
+[[package]]
+
+name = "pcsc"
+
+version = "2.4.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "88e09a8d8705a2c9b1ffe1f9dd9580efe3f8e80c19fc9f99038fe99b7bb56c83"
+
+dependencies = [
+
+ "bitflags",
+
+ "pcsc-sys",
+
+]
+
+
+
+[[package]]
+
+name = "pcsc-sys"
+
+version = "1.2.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "e1b7bfecba2c0f1b5efb0e7caf7533ab1c295024165bcbb066231f60d33e23ea"
+
+dependencies = [
+
+ "pkg-config",
+
+]
+
+
+
+[[package]]
+
+name = "peeking_take_while"
+
+version = "0.1.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
+
+
+
+[[package]]
+
+name = "petgraph"
+
+version = "0.5.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7"
+
+dependencies = [
+
+ "fixedbitset",
+
+ "indexmap",
+
+]
+
+
+
+[[package]]
+
+name = "phf_shared"
+
+version = "0.8.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
+
+dependencies = [
+
+ "siphasher",
+
+]
+
+
+
+[[package]]
+
+name = "pico-args"
+
+version = "0.3.4"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "28b9b4df73455c861d7cbf8be42f01d3b373ed7f02e378d55fa84eafc6f638b1"
+
+
+
+[[package]]
+
+name = "pkg-config"
+
+version = "0.3.19"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
+
+
+
+[[package]]
+
+name = "precomputed-hash"
+
+version = "0.1.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
+
+
+
+[[package]]
+
+name = "proc-macro2"
+
+version = "1.0.24"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71"
+
+dependencies = [
+
+ "unicode-xid",
+
+]
+
+
+
+[[package]]
+
+name = "pyo3"
+
+version = "0.13.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "5cdd01a4c2719dd1f3ceab0875fa1a2c2cd3c619477349d78f43cd716b345436"
+
+dependencies = [
+
+ "cfg-if 1.0.0",
+
+ "ctor",
+
+ "indoc",
+
+ "inventory",
+
+ "libc",
+
+ "parking_lot",
+
+ "paste",
+
+ "pyo3-macros",
+
+ "unindent",
+
+]
+
+
+
+[[package]]
+
+name = "pyo3-macros"
+
+version = "0.13.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "7f8218769d13e354f841d559a19b0cf22cfd55959c7046ef594e5f34dbe46d16"
+
+dependencies = [
+
+ "pyo3-macros-backend",
+
+ "quote",
+
+ "syn",
+
+]
+
+
+
+[[package]]
+
+name = "pyo3-macros-backend"
+
+version = "0.13.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "fc4da0bfdf76f0a5971c698f2cb6b3f832a6f80f16dedeeb3f123eb0431ecce2"
+
+dependencies = [
+
+ "proc-macro2",
+
+ "quote",
+
+ "syn",
+
+]
+
+
+
+[[package]]
+
+name = "quote"
+
+version = "1.0.8"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "991431c3519a3f36861882da93630ce66b52918dcf1b8e2fd66b397fc96f28df"
+
+dependencies = [
+
+ "proc-macro2",
+
+]
+
+
+
+[[package]]
+
+name = "redox_syscall"
+
+version = "0.1.57"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce"
+
+
+
+[[package]]
+
+name = "redox_users"
+
+version = "0.3.5"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "de0737333e7a9502c789a36d7c7fa6092a49895d4faa31ca5df163857ded2e9d"
+
+dependencies = [
+
+ "getrandom",
+
+ "redox_syscall",
+
+ "rust-argon2",
+
+]
+
+
+
+[[package]]
+
+name = "regex"
+
+version = "1.4.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "38cf2c13ed4745de91a5eb834e11c00bcc3709e773173b2ce4c56c9fbde04b9c"
+
+dependencies = [
+
+ "aho-corasick",
+
+ "memchr",
+
+ "regex-syntax",
+
+ "thread_local",
+
+]
+
+
+
+[[package]]
+
+name = "regex-syntax"
+
+version = "0.6.21"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "3b181ba2dcf07aaccad5448e8ead58db5b742cf85dfe035e2227f137a539a189"
+
+
+
+[[package]]
+
+name = "rpassword"
+
+version = "5.0.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "d755237fc0f99d98641540e66abac8bc46a0652f19148ac9e21de2da06b326c9"
+
+dependencies = [
+
+ "libc",
+
+ "winapi",
+
+]
+
+
+
+[[package]]
+
+name = "rust-argon2"
+
+version = "0.8.3"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "4b18820d944b33caa75a71378964ac46f58517c92b6ae5f762636247c09e78fb"
+
+dependencies = [
+
+ "base64",
+
+ "blake2b_simd",
+
+ "constant_time_eq",
+
+ "crossbeam-utils",
+
+]
+
+
+
+[[package]]
+
+name = "rustc-demangle"
+
+version = "0.1.18"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "6e3bad0ee36814ca07d7968269dd4b7ec89ec2da10c4bb613928d3077083c232"
+
+
+
+[[package]]
+
+name = "rustc-hash"
+
+version = "1.1.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
+
+
+
+[[package]]
+
+name = "scopeguard"
+
+version = "1.1.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
+
+
+
+[[package]]
+
+name = "sequoia-openpgp"
+
+version = "1.0.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "664de0a9388e38d0f350547056f18fcc03f78d85e5a49fa4fa8927ca6aea1424"
+
+dependencies = [
+
+ "anyhow",
+
+ "backtrace",
+
+ "base64",
+
+ "buffered-reader",
+
+ "bzip2",
+
+ "chrono",
+
+ "dyn-clone",
+
+ "eax",
+
+ "flate2",
+
+ "idna",
+
+ "lalrpop",
+
+ "lalrpop-util",
+
+ "lazy_static",
+
+ "libc",
+
+ "memsec",
+
+ "nettle",
+
+ "regex",
+
+ "sha1collisiondetection",
+
+ "thiserror",
+
+ "unicode-normalization",
+
+]
+
+
+
+[[package]]
+
+name = "sha1collisiondetection"
+
+version = "0.2.3"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "d7a6cf187c4059b3e63de2358b7e2f9a2261b6f3fd8ef4e7342308d0863ed082"
+
+dependencies = [
+
+ "digest",
+
+ "generic-array",
+
+ "libc",
+
+]
+
+
+
+[[package]]
+
+name = "shlex"
+
+version = "0.1.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2"
+
+
+
+[[package]]
+
+name = "siphasher"
+
+version = "0.3.3"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "fa8f3741c7372e75519bd9346068370c9cdaabcc1f9599cbcf2a2719352286b7"
+
+
+
+[[package]]
+
+name = "smallvec"
+
+version = "1.6.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "1a55ca5f3b68e41c979bf8c46a6f1da892ca4db8f94023ce0bd32407573b1ac0"
+
+
+
+[[package]]
+
+name = "string_cache"
+
+version = "0.8.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "8ddb1139b5353f96e429e1a5e19fbaf663bddedaa06d1dbd49f82e352601209a"
+
+dependencies = [
+
+ "lazy_static",
+
+ "new_debug_unreachable",
+
+ "phf_shared",
+
+ "precomputed-hash",
+
+]
+
+
+
+[[package]]
+
+name = "subtle"
+
+version = "2.4.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2"
+
+
+
+[[package]]
+
+name = "syn"
+
+version = "1.0.57"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "4211ce9909eb971f111059df92c45640aad50a619cf55cd76476be803c4c68e6"
+
+dependencies = [
+
+ "proc-macro2",
+
+ "quote",
+
+ "unicode-xid",
+
+]
+
+
+
+[[package]]
+
+name = "talktosc"
+
+version = "0.1.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "eda5fee425f91e5a4083946f4468948f59cc16412cdcd659554e474c647a5645"
+
+dependencies = [
+
+ "pcsc",
+
+ "rpassword",
+
+ "thiserror",
+
+]
+
+
+
+[[package]]
+
+name = "term"
+
+version = "0.5.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "edd106a334b7657c10b7c540a0106114feadeb4dc314513e97df481d5d966f42"
+
+dependencies = [
+
+ "byteorder",
+
+ "dirs",
+
+ "winapi",
+
+]
+
+
+
+[[package]]
+
+name = "thiserror"
+
+version = "1.0.23"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "76cc616c6abf8c8928e2fdcc0dbfab37175edd8fb49a4641066ad1364fdab146"
+
+dependencies = [
+
+ "thiserror-impl",
+
+]
+
+
+
+[[package]]
+
+name = "thiserror-impl"
+
+version = "1.0.23"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "9be73a2caec27583d0046ef3796c3794f868a5bc813db689eed00c7631275cd1"
+
+dependencies = [
+
+ "proc-macro2",
+
+ "quote",
+
+ "syn",
+
+]
+
+
+
+[[package]]
+
+name = "thread_local"
+
+version = "1.0.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "d40c6d1b69745a6ec6fb1ca717914848da4b44ae29d9b3080cbee91d72a69b14"
+
+dependencies = [
+
+ "lazy_static",
+
+]
+
+
+
+[[package]]
+
+name = "time"
+
+version = "0.1.44"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
+
+dependencies = [
+
+ "libc",
+
+ "wasi 0.10.0+wasi-snapshot-preview1",
+
+ "winapi",
+
+]
+
+
+
+[[package]]
+
+name = "tiny-keccak"
+
+version = "2.0.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
+
+dependencies = [
+
+ "crunchy",
+
+]
+
+
+
+[[package]]
+
+name = "tinyvec"
+
+version = "1.1.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "ccf8dbc19eb42fba10e8feaaec282fb50e2c14b2726d6301dbfeed0f73306a6f"
+
+dependencies = [
+
+ "tinyvec_macros",
+
+]
+
+
+
+[[package]]
+
+name = "tinyvec_macros"
+
+version = "0.1.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
+
+
+
+[[package]]
+
+name = "typenum"
+
+version = "1.12.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33"
+
+
+
+[[package]]
+
+name = "unicode-bidi"
+
+version = "0.3.4"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
+
+dependencies = [
+
+ "matches",
+
+]
+
+
+
+[[package]]
+
+name = "unicode-normalization"
+
+version = "0.1.16"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "a13e63ab62dbe32aeee58d1c5408d35c36c392bba5d9d3142287219721afe606"
+
+dependencies = [
+
+ "tinyvec",
+
+]
+
+
+
+[[package]]
+
+name = "unicode-xid"
+
+version = "0.2.1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
+
+
+
+[[package]]
+
+name = "unindent"
+
+version = "0.1.7"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7"
+
+
+
+[[package]]
+
+name = "version_check"
+
+version = "0.1.5"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd"
+
+
+
+[[package]]
+
+name = "version_check"
+
+version = "0.9.2"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "b5a972e5669d67ba988ce3dc826706fb0a8b01471c088cb0b6110b805cc36aed"
+
+
+
+[[package]]
+
+name = "wasi"
+
+version = "0.9.0+wasi-snapshot-preview1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
+
+
+
+[[package]]
+
+name = "wasi"
+
+version = "0.10.0+wasi-snapshot-preview1"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
+
+
+
+[[package]]
+
+name = "winapi"
+
+version = "0.3.9"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+
+dependencies = [
+
+ "winapi-i686-pc-windows-gnu",
+
+ "winapi-x86_64-pc-windows-gnu",
+
+]
+
+
+
+[[package]]
+
+name = "winapi-i686-pc-windows-gnu"
+
+version = "0.4.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+
+
+[[package]]
+
+name = "winapi-x86_64-pc-windows-gnu"
+
+version = "0.4.0"
+
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+92
pkgs/development/python-modules/johnnycanencrypt/default.nix
···
+
{ stdenv
+
, rustPlatform
+
, fetchFromGitHub
+
, pipInstallHook
+
, llvmPackages
+
, pkg-config
+
, maturin
+
, pcsclite
+
, nettle
+
, python
+
, requests
+
, vcrpy
+
, numpy
+
, pytestCheckHook
+
, pythonOlder
+
, PCSC
+
}:
+
+
rustPlatform.buildRustPackage rec {
+
pname = "johnnycanencrypt";
+
version = "0.5.0";
+
disabled = pythonOlder "3.7";
+
+
src = fetchFromGitHub {
+
owner = "kushaldas";
+
repo = "johnnycanencrypt";
+
rev = "v${version}";
+
sha256 = "192wfrlyylrpzq70yki421mi1smk8q2cyki2a1d03q7h6apib3j4";
+
};
+
cargoPatches = [ ./Cargo.lock.patch ];
+
+
cargoSha256 = "0ifvpdizcdp2c5x2x2j1bhhy5a75q0pk7a63dmh52mlpmh45fy6r";
+
+
LIBCLANG_PATH = llvmPackages.libclang + "/lib";
+
+
propagatedBuildInputs = [
+
requests
+
vcrpy
+
];
+
+
nativeBuildInputs = [
+
llvmPackages.clang
+
pkg-config
+
python
+
maturin
+
pipInstallHook
+
];
+
+
buildInputs = [
+
pcsclite
+
nettle
+
] ++ stdenv.lib.optionals stdenv.isDarwin [ PCSC ];
+
+
# Needed b/c need to check AFTER python wheel is installed (using Rust Build, not buildPythonPackage)
+
doCheck = false;
+
doInstallCheck = true;
+
+
installCheckInputs = [
+
pytestCheckHook
+
numpy
+
];
+
+
buildPhase = ''
+
runHook preBuild
+
maturin build --release --manylinux off --strip --cargo-extra-args="-j $NIX_BUILD_CORES --frozen"
+
runHook postBuild
+
'';
+
+
installPhase = ''
+
install -Dm644 -t dist target/wheels/*.whl
+
pipInstallPhase
+
'';
+
+
preCheck = ''
+
export TESTDIR=$(mktemp -d)
+
cp -r tests/ $TESTDIR
+
pushd $TESTDIR
+
'';
+
+
postCheck = ''
+
popd
+
'';
+
+
pythonImportsCheck = [ "johnnycanencrypt" ];
+
+
meta = with stdenv.lib; {
+
homepage = "https://github.com/kushaldas/johnnycanencrypt";
+
description = "Python module for OpenPGP written in Rust";
+
license = licenses.gpl3Plus;
+
maintainers = with maintainers; [ _0x4A6F ];
+
};
+
}
+36
pkgs/development/python-modules/tumpa/default.nix
···
+
{ stdenv
+
, buildPythonPackage
+
, fetchFromGitHub
+
, setuptools
+
, pyside2
+
, johnnycanencrypt
+
, pythonOlder
+
}:
+
+
buildPythonPackage rec {
+
pname = "tumpa";
+
version = "0.1.1";
+
disabled = pythonOlder "3.7";
+
+
src = fetchFromGitHub {
+
owner = "kushaldas";
+
repo = "tumpa";
+
rev = "v${version}";
+
sha256 = "1wvs64s0jxn4p8zr643d2hcczw3a175r6ib3481gdhjx38kgxjbq";
+
};
+
+
propagatedBuildInputs = [
+
setuptools
+
johnnycanencrypt
+
pyside2
+
];
+
+
doCheck = false;
+
+
meta = with stdenv.lib; {
+
description = "OpenPGP key creation and smartcard access";
+
homepage = "https://github.com/kushaldas/tumpa";
+
license = licenses.gpl3Plus;
+
maintainers = with maintainers; [ _0x4A6F ];
+
};
+
}
+6
pkgs/top-level/python-packages.nix
···
joblib = callPackage ../development/python-modules/joblib { };
+
johnnycanencrypt = callPackage ../development/python-modules/johnnycanencrypt {
+
inherit (pkgs.darwin.apple_sdk.frameworks) PCSC;
+
};
+
josepy = callPackage ../development/python-modules/josepy { };
journalwatch = callPackage ../tools/system/journalwatch { inherit (self) systemd pytest; };
···
TurboCheetah = callPackage ../development/python-modules/TurboCheetah { };
tubeup = callPackage ../development/python-modules/tubeup { };
+
+
tumpa = callPackage ../development/python-modules/tumpa { };
tvdb_api = callPackage ../development/python-modules/tvdb_api { };