Add mdbook from pr 1306 with multilang support

This commit is contained in:
teutat3s 2022-02-03 00:30:16 +01:00
parent 61967bc0e8
commit 9d0eb01b1a
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
3 changed files with 22 additions and 1 deletions

View file

@ -32,6 +32,7 @@ in
fd fd
gh gh
glow glow
mdbook-multilang
nnn nnn
powerline powerline
vifm vifm

View file

@ -0,0 +1,20 @@
final: prev: {
mdbook-multilang = prev.mdbook.overrideAttrs (oldAttrs: rec {
pname = "mdbook";
version = "pr1306";
src = prev.fetchFromGitHub {
owner = "Ruin0x11";
repo = "mdBook";
rev = "9d8147c52dd9d50047ba5b29e4af99f92577806e";
sha256 = "sha256-gJnQKHssO2ChiT4d037Lncd7hiOa5uh756p8TzPzbgQ=";
};
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const {
name = "${pname}-vendor.tar.gz";
inherit src;
outputHash = "sha256-QCEyl5FZqECYYb5eRm8mn+R6owt+CLQwCq/AMMPygE0=";
});
});
}