Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pkgs/development/tools/rust/cargo-c/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@

rustPlatform.buildRustPackage rec {
pname = "cargo-c";
version = "0.9.13";
version = "0.9.20";

src = fetchCrate {
inherit pname;
# this version may need to be updated along with package version
version = "${version}+cargo-0.65";
sha256 = "sha256-f/p+ZIvDe9JQ8GM82SEud7sRTlimNs/ADPevfdkhsfg=";
version = "${version}+cargo-0.71";
hash = "sha256-T0/gqzeJxDSZDoi8tl4vgYEAFbJDlCoxuqoi6rnf5U4=";
};

cargoSha256 = "sha256-JrlEWgKbTqQG/JYFqBR53eB58fa29c/+vIdSNGoS5Y0=";
cargoHash = "sha256-tArfCEGFRgJPERZW1HzfdDedc+FD8bpc+LX4wNwdv6Q=";

nativeBuildInputs = [ pkg-config (lib.getDev curl) ];
buildInputs = [ openssl curl ] ++ lib.optionals stdenv.isDarwin [
Expand All @@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec {
'';

meta = with lib; {
description = "A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries";
description = "A cargo subcommand to build and install C-ABI compatible dynamic and static libraries";
longDescription = ''
Cargo C-ABI helpers. A cargo applet that produces and installs a correct
pkg-config file, a static library and a dynamic library, and a C header
Expand Down