Merge pull request #200161 from matthiasbeyer/update-mdbook-open-on-gh

mdbook-open-on-gh: 2.2.0 -> 2.3.0

authored by

Nick Cao and committed by
GitHub
04dda0c5 8d745179

+5 -14
+5 -14
pkgs/tools/text/mdbook-open-on-gh/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, fetchpatch }: 1 + { lib, rustPlatform, fetchFromGitHub }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "mdbook-open-on-gh"; 5 - version = "2.2.0"; 5 + version = "2.3.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "badboy"; 9 9 repo = pname; 10 - rev = "2.2.0"; 11 - hash = "sha256-x7ESuXoF5dYnJZpgDyYliVixCG4w/VX/Vhm3VqxsiEI="; 10 + rev = version; 11 + hash = "sha256-omQTyJ7XKRBjX8jyWLONajAYnwr93nElrwDLdvs2MxM="; 12 12 }; 13 13 14 - cargoPatches = [ 15 - # https://github.com/badboy/mdbook-open-on-gh/pull/7 16 - (fetchpatch { 17 - name = "update-mdbook-for-rust-1.64.patch"; 18 - url = "https://github.com/badboy/mdbook-open-on-gh/commit/bd20601bfcec144c9302b1ba1a1aff4b95b334d9.patch"; 19 - hash = "sha256-3Df9Q3sqCpZzqCN9fi+wdeWjLUW4XdywIS3QUjsDE9g="; 20 - }) 21 - ]; 22 - 23 - cargoHash = "sha256-N0RwengTWk4luPIecIxzbFReGi+PtE77FJalPq1CdbA="; 14 + cargoHash = "sha256-57KcqALWbiGtp6HWSN42gZ0St38oHu3inZ0TT77j7go="; 24 15 25 16 meta = with lib; { 26 17 description = "mdbook preprocessor to add a open-on-github link on every page";