Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: cargo-c 0.10.15 -> 0.10.19 https://github.com/lu-zero/cargo-c/releases attrpath: cargo-c Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] skipping because derivation has updateScript [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/j3k0mv6k4ynf9j06hxgp9b90ml2lyahs-packages.json.drv building '/nix/store/j3k0mv6k4ynf9j06hxgp9b90ml2lyahs-packages.json.drv'... Going to be running update for following packages: - cargo-c-0.10.15 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - cargo-c-0.10.15: UPDATING ... - cargo-c-0.10.15: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ca/cargo-c/package.nix b/pkgs/by-name/ca/cargo-c/package.nix index 557b21f65d0e..ce4cb935bcbc 100644 --- a/pkgs/by-name/ca/cargo-c/package.nix +++ b/pkgs/by-name/ca/cargo-c/package.nix @@ -12,19 +12,19 @@ let # this version may need to be updated along with package version - cargoVersion = "0.90.0"; + cargoVersion = "0.93.0"; in rustPlatform.buildRustPackage rec { pname = "cargo-c"; - version = "0.10.15"; + version = "0.10.19"; src = fetchCrate { inherit pname; version = "${version}+cargo-${cargoVersion}"; - hash = "sha256-szqDSHGihE+Oj8L3EBlC5XH4kSBYOptd0Xtk3MhXooQ="; + hash = "sha256-PrBmB+0tmU2MAUnRr+wx4g9hu0Y9i6WfR8U89bwiLVY="; }; - cargoHash = "sha256-36ygs/EhCktG1jmBnP9c7EgnfcWnGrqqcW3qAw+Yfy4="; + cargoHash = "sha256-EM/vAfW/ucOfK/XmAQn9Zk75eFb7pp8uZoByKbALCyo="; nativeBuildInputs = [ pkg-config No auto update branch exists Old version 0.10.15+cargo-0.90.0" not present in master derivation file with contents: { lib, rustPlatform, fetchCrate, pkg-config, curl, openssl, stdenv, libiconv, rav1e, }: let # this version may need to be updated along with package version cargoVersion = "0.90.0"; in rustPlatform.buildRustPackage rec { pname = "cargo-c"; version = "0.10.15"; src = fetchCrate { inherit pname; version = "${version}+cargo-${cargoVersion}"; hash = "sha256-szqDSHGihE+Oj8L3EBlC5XH4kSBYOptd0Xtk3MhXooQ="; }; cargoHash = "sha256-36ygs/EhCktG1jmBnP9c7EgnfcWnGrqqcW3qAw+Yfy4="; nativeBuildInputs = [ pkg-config (lib.getDev curl) ]; buildInputs = [ openssl curl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; # Ensure that we are avoiding build of the curl vendored in curl-sys doInstallCheck = stdenv.hostPlatform.libc == "glibc"; installCheckPhase = '' runHook preInstallCheck ldd "$out/bin/cargo-cbuild" | grep libcurl.so runHook postInstallCheck ''; passthru = { tests = { inherit rav1e; }; updateScript.command = [ ./update.sh ]; }; meta = { description = "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 to be used by any C (and C-compatible) software. ''; homepage = "https://github.com/lu-zero/cargo-c"; changelog = "https://github.com/lu-zero/cargo-c/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ cpu matthiasbeyer ]; }; }