Unverified Commit 3cbcf3eb authored by misuzu's avatar misuzu Committed by GitHub
Browse files

cargo-3ds: init at 0.1.3 (#367583)

parents 402f4327 f99b8d30
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -12517,6 +12517,12 @@
    githubId = 168301;
    name = "Victor Engmark";
  };
  l1npengtul = {
    email = "l1npengtul@l1npengtul.lol";
    github = "l1npengtul";
    githubId = 35755164;
    name = "l1npengtul";
  };
  l33tname = {
    name = "l33tname";
    email = "hi@l33t.name";
+35 −0
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  nix-update-script,
}:
rustPlatform.buildRustPackage rec {
  pname = "cargo-3ds";
  version = "0.1.3";

  src = fetchFromGitHub {
    owner = "rust3ds";
    repo = "cargo-3ds";
    tag = "v${version}";
    hash = "sha256-G1XSpvE94gcamvyKKzGZgj5QSwkBNbYWYdZ17ScwW90=";
  };

  cargoHash = "sha256-Gt8TJ6VTvpqtpQuD4WYN45/gccfgnw13sKeMqHboTm8=";

  # Integration tests do not run in Nix build environment due to needing to
  # create and build Cargo workspaces.
  doCheck = false;

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Cargo command to work with Nintendo 3DS project binaries";
    homepage = "https://github.com/rust3ds/cargo-3ds";
    license = with lib.licenses; [
      mit
      asl20
    ];
    maintainers = with lib.maintainers; [ l1npengtul ];
  };
}