Merge pull request #175789 from SuperSandro2000/mdcat

mdcat: 0.26.1 -> 0.27.1, remove inactive maintainer
This commit is contained in:
Fabian Affolter 2022-06-01 21:25:51 +02:00 committed by GitHub
commit 3b6f2b44ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,21 +12,21 @@
rustPlatform.buildRustPackage rec {
pname = "mdcat";
version = "0.26.1";
version = "0.27.1";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "flausch";
repo = "mdcat";
rev = "mdcat-${version}";
sha256 = "sha256-vB49EwQltonR9Uw8RRMZTPR4WkcylnIqiE0/8+t2R1Q=";
sha256 = "sha256-iWFWpUyg/VYI+AKFsJe/rOYco+680l/bIHX0qXfD3u0=";
};
nativeBuildInputs = [ pkg-config asciidoctor installShellFiles ];
buildInputs = [ openssl ]
++ lib.optional stdenv.isDarwin Security;
cargoSha256 = "sha256-v52ob5l5HiiZZmo88D9/ldFi0170/BuPzgKIt9ctSgU=";
cargoSha256 = "sha256-e/yupkCqWZZCfD8brVb2yD4pt3ExSfwCm2bmTyjRGpA=";
checkInputs = [ ansi2html ];
# Skip tests that use the network and that include files.
@ -43,15 +43,16 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
installManPage $releaseDir/build/mdcat-*/out/mdcat.1
installShellCompletion --bash $releaseDir/build/mdcat-*/out/completions/mdcat.bash
installShellCompletion --fish $releaseDir/build/mdcat-*/out/completions/mdcat.fish
installShellCompletion --zsh $releaseDir/build/mdcat-*/out/completions/_mdcat
installShellCompletion \
--bash $releaseDir/build/mdcat-*/out/completions/mdcat.bash \
--fish $releaseDir/build/mdcat-*/out/completions/mdcat.fish \
--zsh $releaseDir/build/mdcat-*/out/completions/_mdcat
'';
meta = with lib; {
description = "cat for markdown";
homepage = "https://github.com/lunaryorn/mdcat";
homepage = "https://codeberg.org/flausch/mdcat";
license = with licenses; [ mpl20 ];
maintainers = with maintainers; [ davidtwco SuperSandro2000 ];
maintainers = with maintainers; [ SuperSandro2000 ];
};
}