multimarkdown: 6.6.0 -> 6.7.0 (#405461)

This commit is contained in:
Sandro 2025-06-09 18:06:33 +02:00 committed by GitHub
commit db7caa5223
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,35 +7,28 @@
pkg-config, pkg-config,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "multimarkdown"; pname = "multimarkdown";
version = "6.6.0"; version = "6.7.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fletcher"; owner = "fletcher";
repo = "MultiMarkdown-6"; repo = "MultiMarkdown-6";
rev = version; tag = finalAttrs.version;
hash = "sha256-emJbY0wucoc/GdjlILoeqjwuwuPpTjXTqZN0gUKOyLg="; hash = "sha256-b6yCn0NFpONI7WwfjDOc0d2nCKMIiUXi+rsnytiNc0Q=";
}; };
postPatch = '' postPatch = ''
patchShebangs tools/enumsToPerl.pl patchShebangs tools/enumsToPerl.pl
''; '';
postInstall = ''
# Move files from $out/ to sub directories to prevent conflicts
# with other packages:
mkdir -p $out/share/doc/multimarkdown/
mv $out/LICENSE.txt $out/README.txt $out/share/doc/multimarkdown/
'';
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
perl perl
pkg-config pkg-config
]; ];
meta = with lib; { meta = {
homepage = "https://fletcher.github.io/MultiMarkdown-6/introduction.html"; homepage = "https://fletcher.github.io/MultiMarkdown-6/introduction.html";
description = "Derivative of Markdown that adds new syntax features"; description = "Derivative of Markdown that adds new syntax features";
longDescription = '' longDescription = ''
@ -59,8 +52,8 @@ stdenv.mkDerivation rec {
- glossary entries (LaTeX only) - glossary entries (LaTeX only)
- document metadata (e.g. title, author, date, etc.) - document metadata (e.g. title, author, date, etc.)
''; '';
license = with licenses; [ mit ]; license = with lib.licenses; [ mit ];
platforms = platforms.all; platforms = lib.platforms.all;
maintainers = with maintainers; [ ]; maintainers = with lib.maintainers; [ ];
}; };
} })