Unverified Commit 47632015 authored by Success Kingsley's avatar Success Kingsley Committed by GitHub
Browse files

cargonode: drop (#425666)

parent 0f50c2a4
Loading
Loading
Loading
Loading
+0 −46
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  pkg-config,
}:

rustPlatform.buildRustPackage rec {
  pname = "cargonode";
  version = "0.1.3";

  src = fetchFromGitHub {
    owner = "xosnrdev";
    repo = "cargonode";
    tag = version;
    hash = "sha256-O5+wAM99m1rgQpwz36mkHEU/FvGnY6hBCKPMIGXCeCU=";
  };

  useFetchCargoVendor = true;
  cargoHash = "sha256-dYOdnyKdzL93kuSTUb+1vRqfDgkZLymaEZo9FUrR1JI=";

  checkFlags = [
    # Skip test that requires network access
    "--skip test_download_file"
    "--skip test_extract_zip"
    "--skip test_invalid_download_url"
    "--skip test_create_package"
    "--skip test_init_package"
  ];

  nativeBuildInputs = [
    pkg-config
  ];

  meta = {
    description = "Unified tooling for Node.js";
    mainProgram = "cargonode";
    homepage = "https://github.com/xosnrdev/cargonode?tab=readme-ov-file#readme";
    changelog = "https://github.com/xosnrdev/cargonode/blob/${version}/CHANGELOG.md";
    license = with lib.licenses; [
      asl20 # or
      mit
    ];
    maintainers = with lib.maintainers; [ xosnrdev ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -408,6 +408,7 @@ mapAliases {
  cargo-information = throw "'cargo-information' has been removed due to being merged upstream into 'cargo'"; # Added 2025-03-09
  cargo-inspect = throw "'cargo-inspect' has been removed due to lack of upstream maintenance. Upstream recommends cargo-expand."; # Added 2025-01-26
  cargo-web = throw "'cargo-web' has been removed due to lack of upstream maintenance"; # Added 2025-01-26
  cargonode = throw "'cargonode' has been removed due to lack of upstream maintenance"; # Added 2025-06-18
  cassandra_3_0 = throw "'cassandra_3_0' has been removed has it reached end-of-life"; # Added 2025-03-23
  cassandra_3_11 = throw "'cassandra_3_11' has been removed has it reached end-of-life"; # Added 2025-03-23
  cawbird = throw "cawbird has been abandoned upstream and is broken anyways due to Twitter closing its API";