1 { rustPlatform, fetchFromGitLab, lib, makeWrapper, gst_all_1, libsixel }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitLab {
11 sha256 = "1w7hdqgqr1jgxid3k7f2j52wz31gv8bzr9rsm6xzp7nnihp6i45p";
14 cargoBuildFlags = ["--features" "bin"];
15 cargoSha256 = "0nxm2k8dx6nxyghvpw44wqfd1n65947v2wqxxvy641hin4d7xzma";
17 nativeBuildInputs = [ makeWrapper ];
20 gst_all_1.gst-plugins-base
21 gst_all_1.gst-plugins-good
22 gst_all_1.gst-plugins-ugly
23 gst_all_1.gst-plugins-bad
28 wrapProgram $out/bin/termplay --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
32 description = "Play an image/video in your terminal";
33 homepage = "https://jd91mzm2.github.io/termplay/";
34 license = licenses.mit;
35 maintainers = with maintainers; [ jD91mZM2 ];
36 platforms = platforms.unix;