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
, xorg
7
, stdenv
8
, python3
0
9
, libsixel
10
, mpv
11
, CoreFoundation
···
19
20
src = fetchFromGitHub {
21
owner = "Siriusmart";
22
-
repo = pname;
23
rev = "v${version}";
24
hash = "sha256-FOiK3yQcQuwdCEjBtRPW4iBd+8uNsvZ6l5tclHVzL+M=";
25
};
···
34
nativeBuildInputs = [
35
pkg-config
36
python3
0
37
];
38
39
buildInputs = [
···
46
Security
47
AppKit
48
];
0
0
0
0
0
0
49
50
meta = with lib; {
51
description = "An aesthetically pleasing YouTube TUI written in Rust";
···
6
, xorg
7
, stdenv
8
, python3
9
+
, makeBinaryWrapper
10
, libsixel
11
, mpv
12
, CoreFoundation
···
20
21
src = fetchFromGitHub {
22
owner = "Siriusmart";
23
+
repo = "youtube-tui";
24
rev = "v${version}";
25
hash = "sha256-FOiK3yQcQuwdCEjBtRPW4iBd+8uNsvZ6l5tclHVzL+M=";
26
};
···
35
nativeBuildInputs = [
36
pkg-config
37
python3
38
+
makeBinaryWrapper
39
];
40
41
buildInputs = [
···
48
Security
49
AppKit
50
];
51
+
52
+
# sixel-sys is dynamically linked to libsixel
53
+
postInstall = lib.optionalString stdenv.isDarwin ''
54
+
wrapProgram $out/bin/youtube-tui \
55
+
--prefix DYLD_LIBRARY_PATH : "${lib.makeLibraryPath [libsixel]}"
56
+
'';
57
58
meta = with lib; {
59
description = "An aesthetically pleasing YouTube TUI written in Rust";