File tree Expand file tree Collapse file tree 3 files changed +8
-14
lines changed
Expand file tree Collapse file tree 3 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 66rustPlatform . buildRustPackage {
77 pname = "deltachat-repl" ;
88
9- inherit ( libdeltachat ) version src cargoLock buildInputs ;
9+ inherit ( libdeltachat ) version src cargoDeps buildInputs ;
1010
1111 nativeBuildInputs = [
1212 pkg-config
Original file line number Diff line number Diff line change 66rustPlatform . buildRustPackage {
77 pname = "deltachat-rpc-server" ;
88
9- inherit ( libdeltachat ) version src cargoLock buildInputs ;
9+ inherit ( libdeltachat ) version src cargoDeps buildInputs ;
1010
1111 nativeBuildInputs = [
1212 pkg-config
Original file line number Diff line number Diff line change 1818, libiconv
1919} :
2020
21- let
22- cargoLock = {
23- lockFile = ./Cargo.lock ;
24- outputHashes = {
25- "email-0.0.20" = "sha256-rV4Uzqt2Qdrfi5Ti1r+Si1c2iW1kKyWLwOgLkQ5JGGw=" ;
26- "encoded-words-0.2.0" = "sha256-KK9st0hLFh4dsrnLd6D8lC6pRFFs8W+WpZSGMGJcosk=" ;
27- "lettre-0.9.2" = "sha256-+hU1cFacyyeC9UGVBpS14BWlJjHy90i/3ynMkKAzclk=" ;
28- } ;
29- } ;
30- in stdenv . mkDerivation rec {
21+ stdenv . mkDerivation rec {
3122 pname = "libdeltachat" ;
3223 version = "1.148.7" ;
3324
@@ -42,7 +33,11 @@ in stdenv.mkDerivation rec {
4233 ./no-static-lib.patch
4334 ] ;
4435
45- cargoDeps = rustPlatform . importCargoLock cargoLock ;
36+ cargoDeps = rustPlatform . fetchCargoVendor {
37+ pname = "deltachat-core-rust" ;
38+ inherit version src ;
39+ hash = "sha256-eDj8DIvvWWj+tfHuzR35WXlKY5klGxW+MixdN++vugk=" ;
40+ } ;
4641
4742 nativeBuildInputs = [
4843 cmake
@@ -78,7 +73,6 @@ in stdenv.mkDerivation rec {
7873 '' ;
7974
8075 passthru = {
81- inherit cargoLock ;
8276 tests = {
8377 inherit deltachat-desktop deltachat-repl deltachat-rpc-server ;
8478 python = python3 . pkgs . deltachat ;
You can’t perform that action at this time.
0 commit comments