commit
eb9dbece5a
@ -1,37 +0,0 @@
|
|||||||
{ lib, stdenv, fetchurl, atomEnv, libXScrnSaver, gtk2 }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "marp";
|
|
||||||
version = "0.0.14";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/yhatt/marp/releases/download/v${version}/${version}-Marp-linux-x64.tar.gz";
|
|
||||||
sha256 = "0nklzxwdx5llzfwz1hl2jpp2kwz78w4y63h5l00fh6fv6zisw6j4";
|
|
||||||
};
|
|
||||||
|
|
||||||
unpackPhase = ''
|
|
||||||
mkdir {locales,resources}
|
|
||||||
tar --delay-directory-restore -xf $src
|
|
||||||
chmod u+x {locales,resources}
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/lib/marp $out/bin
|
|
||||||
cp -r ./* $out/lib/marp
|
|
||||||
ln -s $out/lib/marp/Marp $out/bin
|
|
||||||
'';
|
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
|
||||||
--set-rpath "${atomEnv.libPath}:${lib.makeLibraryPath [ libXScrnSaver gtk2 ]}:$out/lib/marp" \
|
|
||||||
$out/bin/Marp
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Markdown presentation writer, powered by Electron";
|
|
||||||
homepage = "https://yhatt.github.io/marp/";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = [ maintainers.puffnfresh ];
|
|
||||||
platforms = [ "x86_64-linux" ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -827,6 +827,7 @@ mapAliases ({
|
|||||||
manpages = throw "'manpages' has been renamed to/replaced by 'man-pages'"; # Converted to throw 2022-02-22
|
manpages = throw "'manpages' has been renamed to/replaced by 'man-pages'"; # Converted to throw 2022-02-22
|
||||||
marathon = throw "marathon has been removed from nixpkgs, as it's unmaintained"; # Added 2020-08-15
|
marathon = throw "marathon has been removed from nixpkgs, as it's unmaintained"; # Added 2020-08-15
|
||||||
mariadb-client = hiPrio mariadb.client; #added 2019.07.28
|
mariadb-client = hiPrio mariadb.client; #added 2019.07.28
|
||||||
|
marp = throw "marp has been removed from nixpkgs, as it's unmaintained and has security issues"; # Added 2022-06-04
|
||||||
matcha = throw "matcha was renamed to matcha-gtk-theme"; # added 2020-05-09
|
matcha = throw "matcha was renamed to matcha-gtk-theme"; # added 2020-05-09
|
||||||
mathics = throw "mathics has been removed from nixpkgs, as it's unmaintained"; # Added 2020-08-15
|
mathics = throw "mathics has been removed from nixpkgs, as it's unmaintained"; # Added 2020-08-15
|
||||||
matrique = spectral; # Added 2020-01-27
|
matrique = spectral; # Added 2020-01-27
|
||||||
|
@ -28013,8 +28013,6 @@ with pkgs;
|
|||||||
electron = electron_9;
|
electron = electron_9;
|
||||||
};
|
};
|
||||||
|
|
||||||
marp = callPackage ../applications/office/marp { };
|
|
||||||
|
|
||||||
magnetico = callPackage ../applications/networking/p2p/magnetico { };
|
magnetico = callPackage ../applications/networking/p2p/magnetico { };
|
||||||
|
|
||||||
mastodon-bot = nodePackages.mastodon-bot;
|
mastodon-bot = nodePackages.mastodon-bot;
|
||||||
|
Loading…
Reference in New Issue
Block a user