# THIS WORKS FOR THE BUILD [source."https://github.com/signalapp/curve25519-dalek"] git = "https://github.com/signalapp/curve25519-dalek" branch = "lizard2" replace-with = "vendored-sources" [source."https://github.com/signalapp/libsignal"] git = "https://github.com/signalapp/libsignal" tag = "v0.20.0" replace-with = "vendored-sources" [source."https://github.com/whisperfish/libsignal-service-rs"] git = "https://github.com/whisperfish/libsignal-service-rs" rev = "8666ba56f47e405aaf8ed243be6e2ad1b5ad68c1" replace-with = "vendored-sources" [source."https://github.com/whisperfish/presage"] git = "https://github.com/whisperfish/presage" rev = "f84d958" replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" # /THIS WORKS FOR THE BUILD # this is me trying to fiddle with cargo install [source."https://github.com/signalapp/curve25519-dalek"] [patch."https://github.com/signalapp/libsignal"] libsignal-protocol = { path = "vendor/libsignal-protocol" } [patch."https://github.com/whisperfish/libsignal-service-rs"] libsignal-service = { path = "vendor/libsignal-service" } libsignal-service-hyper = { path = "vendor/libsignal-service-hyper" } [patch."https://github.com/whisperfish/presage"] presage = { path = "vendor/presage" } [patch."https://github.com/signalapp/curve25519-dalek"] curve25519-dalek = { path = "vendor/curve25519-dalek" } # with no success # ===> Faking installation for gurk-rs-0.3.0 # Installing gurk v0.3.0 (/home/dpb/usr/ports/pobj/gurk-rs-0.3.0/gurk-rs-0.3.0) #error: failed to compile `gurk v0.3.0 (/home/dpb/usr/ports/pobj/gurk-rs-0.3.0/gurk-rs-0.3.0)`, intermediate artifacts can be found at `/usr/ports/pobj/gurk-rs-0.3.0/gurk-rs-0.3.0/target` # #Caused by: # failed to get `presage` as a dependency of package `gurk v0.3.0 (/home/dpb/usr/ports/pobj/gurk-rs-0.3.0/gurk-rs-0.3.0)` # #Caused by: # failed to load source for dependency `presage` # #Caused by: # Unable to update https://github.com/whisperfish/presage?rev=f84d958 # #Caused by: # the source https://github.com/whisperfish/presage requires a lock file to be present first before it can be # used against vendored source code # # remove the source replacement configuration, generate a lock file, and then # restore the source replacement configuration to continue the build