Unverified Commit a01f4b6f authored by soyouzpanda's avatar soyouzpanda
Browse files
parent 2023ab05
Loading
Loading
Loading
Loading

pkgs/by-name/mo/moshi/Cargo.lock

deleted100644 → 0
+0 −5946

File deleted.

Preview size limit exceeded, changes collapsed.

+3 −11
Original line number Diff line number Diff line
@@ -42,26 +42,18 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "moshi";
  version = "0.2.3";
  version = "0.2.5";

  src = fetchFromGitHub {
    owner = "kyutai-labs";
    repo = "moshi";
    tag = "v${finalAttrs.version}";
    hash = "sha256-tQQTMwvJauzF24S1N2m2slZAHZvklCkPOTrhLvlsNVg=";
    hash = "sha256-MkZsLRQE5Swdyp9l/cvPvznWxRfKuYecj+TTgb3ufKU=";
  };

  sourceRoot = "${finalAttrs.src.name}/rust";

  # Upstream does not track their Cargo.lock
  # https://github.com/kyutai-labs/moshi/issues/256
  cargoLock = {
    lockFile = ./Cargo.lock;
  };

  postPatch = ''
    ln -s ${./Cargo.lock} Cargo.lock
  '';
  cargoHash = "sha256-BxV8oZlN+6cVb3GwhY7TKWxHEpY3WVEhN6A6+5NMOyU=";

  nativeBuildInputs =
    [