Commit 181b7b13 authored by Alex Martens's avatar Alex Martens
Browse files

cargo-spellcheck: 0.13.2 -> 0.14.0

parent 15639ed0
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -8,21 +8,16 @@

rustPlatform.buildRustPackage rec {
  pname = "cargo-spellcheck";
  version = "0.13.2";
  version = "0.14.0";

  src = fetchFromGitHub {
    owner = "drahnr";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-PgV+sjCf4O24v0i9P7RJIcn28OWMUcPSwy+P5n8RwS4=";
    hash = "sha256-NrtPV2bd9BuA1nnniIcth85gJQmFGy9LHdajqmW8j4Q=";
  };

  cargoHash = "sha256-6dhM+FzuLtKtRp2mpE9nlpT+0PBcgGqvBa9vqs6Rs7s=";

  postPatch = ''
    substituteInPlace src/lib.rs \
      --replace "#![deny(dead_code)]" "#![warn(dead_code)]"
  '';
  cargoHash = "sha256-mxx4G77ldPfVorNa1LGTcA0Idwmrcl8S/ze+UUoLHhI=";

  nativeBuildInputs = [ rustPlatform.bindgenHook ];