mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
nushellPlugins.polars: fix build (#546343)
This commit is contained in:
@@ -10,7 +10,11 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "nu_plugin_polars";
|
||||
inherit (nushell) version src cargoHash;
|
||||
inherit (nushell) version src;
|
||||
|
||||
# https://github.com/nushell/nushell/commit/1139611e188d5fc2b0264b8b24d7d38da160f05b
|
||||
cargoPatches = [ ./update-ethnum.patch ];
|
||||
cargoHash = "sha256-Cpv58bqpx1o0Dz2AykqzFY+PQE/Updr5MusQflpEF74=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ] ++ lib.optionals stdenv.cc.isClang [ rustPlatform.bindgenHook ];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
10
pkgs/by-name/nu/nushell/plugins/polars/update-ethnum.patch
Normal file
10
pkgs/by-name/nu/nushell/plugins/polars/update-ethnum.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index dffde283d..61121dd60 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -2082 +2082 @@ name = "ethnum"
|
||||
-version = "1.5.2"
|
||||
+version = "1.5.3"
|
||||
@@ -2084 +2084 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "ca81e6b4777c89fd810c25a4be2b1bd93ea034fbe58e6a75216a34c6b82c539b"
|
||||
+checksum = "40404c3f5f511ec4da6fe866ddf6a717c309fdbb69fbbad7b0f3edab8f2e835f"
|
||||
Reference in New Issue
Block a user