Loading pkgs/by-name/de/deltachat-repl/package.nix 0 → 100644 +26 −0 Original line number Diff line number Diff line { lib , rustPlatform , libdeltachat , perl , pkg-config }: rustPlatform.buildRustPackage { pname = "deltachat-repl"; inherit (libdeltachat) version src cargoLock buildInputs; nativeBuildInputs = [ perl pkg-config ]; cargoBuildFlags = [ "--package" "deltachat-repl" ]; doCheck = false; meta = libdeltachat.meta // { description = "Delta Chat CLI client"; mainProgram = "deltachat-repl"; }; } pkgs/development/libraries/libdeltachat/default.nix +19 −12 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ , fetchFromGitHub , cargo , cmake , deltachat-repl , openssl , perl , pkg-config Loading @@ -17,7 +18,17 @@ , libiconv }: stdenv.mkDerivation rec { let cargoLock = { lockFile = ./Cargo.lock; outputHashes = { "email-0.0.21" = "sha256-u4CsK/JqFgq5z3iJGxxGtb7QbSkOAqmOvrmagsqfXIU="; "encoded-words-0.2.0" = "sha256-KK9st0hLFh4dsrnLd6D8lC6pRFFs8W+WpZSGMGJcosk="; "iroh-0.4.1" = "sha256-oLvka1nV2yQPzlcaq5CXqXRRu7GkbMocV6GoIlxQKlo="; "lettre-0.9.2" = "sha256-+hU1cFacyyeC9UGVBpS14BWlJjHy90i/3ynMkKAzclk="; }; }; in stdenv.mkDerivation rec { pname = "libdeltachat"; version = "1.128.0"; Loading @@ -32,15 +43,7 @@ stdenv.mkDerivation rec { ./no-static-lib.patch ]; cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; outputHashes = { "email-0.0.21" = "sha256-u4CsK/JqFgq5z3iJGxxGtb7QbSkOAqmOvrmagsqfXIU="; "encoded-words-0.2.0" = "sha256-KK9st0hLFh4dsrnLd6D8lC6pRFFs8W+WpZSGMGJcosk="; "iroh-0.4.1" = "sha256-oLvka1nV2yQPzlcaq5CXqXRRu7GkbMocV6GoIlxQKlo="; "lettre-0.9.2" = "sha256-+hU1cFacyyeC9UGVBpS14BWlJjHy90i/3ynMkKAzclk="; }; }; cargoDeps = rustPlatform.importCargoLock cargoLock; nativeBuildInputs = [ cmake Loading @@ -67,9 +70,13 @@ stdenv.mkDerivation rec { cargoCheckHook ]; passthru.tests = { passthru = { inherit cargoLock; tests = { inherit deltachat-repl; python = python3.pkgs.deltachat; }; }; meta = with lib; { description = "Delta Chat Rust Core library"; Loading Loading
pkgs/by-name/de/deltachat-repl/package.nix 0 → 100644 +26 −0 Original line number Diff line number Diff line { lib , rustPlatform , libdeltachat , perl , pkg-config }: rustPlatform.buildRustPackage { pname = "deltachat-repl"; inherit (libdeltachat) version src cargoLock buildInputs; nativeBuildInputs = [ perl pkg-config ]; cargoBuildFlags = [ "--package" "deltachat-repl" ]; doCheck = false; meta = libdeltachat.meta // { description = "Delta Chat CLI client"; mainProgram = "deltachat-repl"; }; }
pkgs/development/libraries/libdeltachat/default.nix +19 −12 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ , fetchFromGitHub , cargo , cmake , deltachat-repl , openssl , perl , pkg-config Loading @@ -17,7 +18,17 @@ , libiconv }: stdenv.mkDerivation rec { let cargoLock = { lockFile = ./Cargo.lock; outputHashes = { "email-0.0.21" = "sha256-u4CsK/JqFgq5z3iJGxxGtb7QbSkOAqmOvrmagsqfXIU="; "encoded-words-0.2.0" = "sha256-KK9st0hLFh4dsrnLd6D8lC6pRFFs8W+WpZSGMGJcosk="; "iroh-0.4.1" = "sha256-oLvka1nV2yQPzlcaq5CXqXRRu7GkbMocV6GoIlxQKlo="; "lettre-0.9.2" = "sha256-+hU1cFacyyeC9UGVBpS14BWlJjHy90i/3ynMkKAzclk="; }; }; in stdenv.mkDerivation rec { pname = "libdeltachat"; version = "1.128.0"; Loading @@ -32,15 +43,7 @@ stdenv.mkDerivation rec { ./no-static-lib.patch ]; cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; outputHashes = { "email-0.0.21" = "sha256-u4CsK/JqFgq5z3iJGxxGtb7QbSkOAqmOvrmagsqfXIU="; "encoded-words-0.2.0" = "sha256-KK9st0hLFh4dsrnLd6D8lC6pRFFs8W+WpZSGMGJcosk="; "iroh-0.4.1" = "sha256-oLvka1nV2yQPzlcaq5CXqXRRu7GkbMocV6GoIlxQKlo="; "lettre-0.9.2" = "sha256-+hU1cFacyyeC9UGVBpS14BWlJjHy90i/3ynMkKAzclk="; }; }; cargoDeps = rustPlatform.importCargoLock cargoLock; nativeBuildInputs = [ cmake Loading @@ -67,9 +70,13 @@ stdenv.mkDerivation rec { cargoCheckHook ]; passthru.tests = { passthru = { inherit cargoLock; tests = { inherit deltachat-repl; python = python3.pkgs.deltachat; }; }; meta = with lib; { description = "Delta Chat Rust Core library"; Loading