multimarkdown: 6.6.0 -> 6.7.0
Diff: https://github.com/fletcher/MultiMarkdown-6/compare/6.6.0...6.7.0
This commit is contained in:
parent
50dd5a5327
commit
ce8c8feab9
@ -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; [ ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user