tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
youtube-tui: dynamically link libsixel on darwin
Emily Trau
2 years ago
6d91e053
a8217b75
+9
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
video
youtube-tui
default.nix
+9
-1
pkgs/applications/video/youtube-tui/default.nix
···
6
6
, xorg
7
7
, stdenv
8
8
, python3
9
9
+
, makeBinaryWrapper
9
10
, libsixel
10
11
, mpv
11
12
, CoreFoundation
···
19
20
20
21
src = fetchFromGitHub {
21
22
owner = "Siriusmart";
22
22
-
repo = pname;
23
23
+
repo = "youtube-tui";
23
24
rev = "v${version}";
24
25
hash = "sha256-FOiK3yQcQuwdCEjBtRPW4iBd+8uNsvZ6l5tclHVzL+M=";
25
26
};
···
34
35
nativeBuildInputs = [
35
36
pkg-config
36
37
python3
38
38
+
makeBinaryWrapper
37
39
];
38
40
39
41
buildInputs = [
···
46
48
Security
47
49
AppKit
48
50
];
51
51
+
52
52
+
# sixel-sys is dynamically linked to libsixel
53
53
+
postInstall = lib.optionalString stdenv.isDarwin ''
54
54
+
wrapProgram $out/bin/youtube-tui \
55
55
+
--prefix DYLD_LIBRARY_PATH : "${lib.makeLibraryPath [libsixel]}"
56
56
+
'';
49
57
50
58
meta = with lib; {
51
59
description = "An aesthetically pleasing YouTube TUI written in Rust";