summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2023-01-09 15:32:03 +0100
committerGitHub <noreply@github.com>2023-01-09 15:32:03 +0100
commit2394c19b90132fbb7948eab3f81c02df56b1ebe5 (patch)
tree40a239508c20abb49c72c55b3279469afb572bea
parent90239b150c67a0012cc88df8b10f9189105e3c31 (diff)
downloadnixpkgs-2394c19b90132fbb7948eab3f81c02df56b1ebe5.tar
nixpkgs-2394c19b90132fbb7948eab3f81c02df56b1ebe5.tar.gz
nixpkgs-2394c19b90132fbb7948eab3f81c02df56b1ebe5.tar.bz2
nixpkgs-2394c19b90132fbb7948eab3f81c02df56b1ebe5.tar.lz
nixpkgs-2394c19b90132fbb7948eab3f81c02df56b1ebe5.tar.xz
nixpkgs-2394c19b90132fbb7948eab3f81c02df56b1ebe5.tar.zst
nixpkgs-2394c19b90132fbb7948eab3f81c02df56b1ebe5.zip
cargo-public-api: 0.24.1 -> 0.26.0 (#206365)
-rw-r--r--pkgs/development/tools/rust/cargo-public-api/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/tools/rust/cargo-public-api/default.nix b/pkgs/development/tools/rust/cargo-public-api/default.nix
index d5627993e29..4ebb819623f 100644
--- a/pkgs/development/tools/rust/cargo-public-api/default.nix
+++ b/pkgs/development/tools/rust/cargo-public-api/default.nix
@@ -4,22 +4,24 @@
 , pkg-config
 , openssl
 , stdenv
+, darwin
 }:
 
 rustPlatform.buildRustPackage rec {
   pname = "cargo-public-api";
-  version = "0.24.1";
+  version = "0.26.0";
 
   src = fetchCrate {
     inherit pname version;
-    sha256 = "sha256-xXwJ6MXnSgqIQ5IuqfDm/TUXgkppKCPG3TB7veza/H8=";
+    sha256 = "sha256-BiGVdWgDi+g+mxdM3+z5RN1pGJz9NIKVm8sTZf2ObCc=";
   };
 
-  cargoSha256 = "sha256-1sSvK8oZspIxDcMAl2MyAQzuijAxj1kpiZf1QwwyYDs=";
+  cargoSha256 = "sha256-QvZBWo/u+WtIG5zlDVTC2+5bq/mqZftXU5m8oqN25GM=";
 
   nativeBuildInputs = [ pkg-config ];
 
-  buildInputs = [ openssl ];
+  buildInputs = [ openssl ]
+    ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
 
   # Tests fail
   doCheck = false;