tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
marp: init at 0.0.8
Brian McKenna
9 years ago
52d658df
fe2468b8
+34
2 changed files
expand all
collapse all
unified
split
pkgs
applications
office
marp
default.nix
top-level
all-packages.nix
+32
pkgs/applications/office/marp/default.nix
···
1
1
+
{ stdenv, fetchurl, atomEnv, libXScrnSaver }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "marp-${version}";
5
5
+
version = "0.0.8";
6
6
+
7
7
+
src = fetchurl {
8
8
+
url = "https://github.com/yhatt/marp/releases/download/v${version}/${version}-Marp-linux-x64.tar.gz";
9
9
+
sha256 = "0d7vvz34ik2jafwl3qjkdsvcva25gyrgrfg1gz1nk8f5dkl1wjcf";
10
10
+
};
11
11
+
sourceRoot = ".";
12
12
+
13
13
+
installPhase = ''
14
14
+
mkdir -p $out/lib/marp $out/bin
15
15
+
cp -r ./* $out/lib/marp
16
16
+
ln -s $out/lib/marp/Marp $out/bin
17
17
+
'';
18
18
+
19
19
+
postFixup = ''
20
20
+
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
21
21
+
--set-rpath "${atomEnv.libPath}:${stdenv.lib.makeLibraryPath [ libXScrnSaver ]}:$out/lib/marp" \
22
22
+
$out/bin/Marp
23
23
+
'';
24
24
+
25
25
+
meta = with stdenv.lib; {
26
26
+
description = "Markdown presentation writer, powered by Electron";
27
27
+
homepage = https://yhatt.github.io/marp/;
28
28
+
license = licenses.mit;
29
29
+
maintainers = [ maintainers.puffnfresh ];
30
30
+
platforms = [ "x86_64-linux" ];
31
31
+
};
32
32
+
}
+2
pkgs/top-level/all-packages.nix
···
13553
13553
13554
13554
marathon = callPackage ../applications/networking/cluster/marathon { };
13555
13555
13556
13556
+
marp = callPackage ../applications/office/marp { };
13557
13557
+
13556
13558
matchbox = callPackage ../applications/window-managers/matchbox { };
13557
13559
13558
13560
MBdistortion = callPackage ../applications/audio/MBdistortion { };