diesel-cli: 2.2.5 -> 2.2.6 (#361659)

This commit is contained in:
Aleksana
2024-12-08 14:32:19 +08:00
committed by GitHub
+6 -8
View File
@@ -1,24 +1,24 @@
{
lib,
stdenv,
diesel-cli,
fetchCrate,
rustPlatform,
installShellFiles,
darwin,
libiconv,
libmysqlclient,
nix-update-script,
openssl,
pkg-config,
postgresql,
rustPlatform,
sqlite,
testers,
zlib,
diesel-cli,
sqliteSupport ? true,
postgresqlSupport ? true,
mysqlSupport ? true,
}:
assert lib.assertMsg (lib.elem true [
postgresqlSupport
mysqlSupport
@@ -27,15 +27,15 @@ assert lib.assertMsg (lib.elem true [
rustPlatform.buildRustPackage rec {
pname = "diesel-cli";
version = "2.2.5";
version = "2.2.6";
src = fetchCrate {
inherit version;
crateName = "diesel_cli";
hash = "sha256-cMGSBZ2UexIvSWRI2LIXR7thKciM9+HTB4V8FWpP3ZU=";
hash = "sha256-jKTQxlmpTlb0eITwNbnYfONknGhHsO/nzdup04ikEB0=";
};
cargoHash = "sha256-Qdi9zdBiaAWS0Ao/8Z1jrb07FLE92ETd7RCMd/7J+mI=";
cargoHash = "sha256-+QbCPHczxCkDOFo/PDFTK0xReCWoz8AiLNwXA3aG9N0=";
nativeBuildInputs = [
installShellFiles
@@ -44,8 +44,6 @@ rustPlatform.buildRustPackage rec {
buildInputs =
[ openssl ]
++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security
++ lib.optional (stdenv.hostPlatform.isDarwin && mysqlSupport) libiconv
++ lib.optional sqliteSupport sqlite
++ lib.optional postgresqlSupport postgresql
++ lib.optionals mysqlSupport [