Unverified Commit a3d8522a authored by Vlad M's avatar Vlad M Committed by GitHub
Browse files

Merge pull request #265896 from baloo/baloo/cargo-readme/3.3.1

cargo-readme: 3.2.0 -> 3.3.1
parents c4be63ec c216c256
Loading
Loading
Loading
Loading
+8 −15
Original line number Diff line number Diff line
@@ -2,27 +2,20 @@

rustPlatform.buildRustPackage rec {
  pname = "cargo-readme";
  version = "3.2.0";
  version = "3.3.1";

  src = fetchFromGitHub {
    owner = "livioribeiro";
    owner = "webern";
    repo = pname;
    # Git tag is missing, see upstream issue:
    # https://github.com/livioribeiro/cargo-readme/issues/61
    rev = "cf66017c0120ae198210ebaf58a0be6a78372974";
    sha256 = "sha256-/ufHHM13L83M3UYi6mjdhIjgXx7bZgzvR/X02Zsx7Fw=";
    rev = "v${version}";
    sha256 = "sha256-FFWHADATEfvZvxGwdkj+eTVoq7pnPuoUAhMGTokUkMs=";
  };

  cargoSha256 = "sha256-Isd05qOuVBNfXOI5qsaDOhjF7QIKAG5xrZsBFK2PpQQ=";
  cargoSha256 = "sha256-OEArMqOiT+PZ+zMRt9h0EzeP7ikFuOYR8mFGtm+xCkQ=";

  patches = [
    (fetchpatch {
      # Fixup warning thrown at build when running test-suite
      # unused return, see upstream PR:
      # https://github.com/livioribeiro/cargo-readme/pull/62
      url = "https://github.com/livioribeiro/cargo-readme/commit/060f2daaa2b2cf981bf490dc36bcc6527545ea03.patch";
      sha256 = "sha256-wlAIgTI9OqtA/Jnswoqp7iOj+1zjrUZA7JpHUiF/n+s=";
    })
  # disable doc tests
  cargoTestFlags = [
    "--bins" "--lib"
  ];

  meta = with lib; {