mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
multimarkdown: 6.6.0 -> 6.7.0 (#405461)
This commit is contained in:
commit
db7caa5223
1 changed files with 9 additions and 16 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue