Loading pkgs/applications/file-managers/lf/ctpv.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib , pkgs , file , openssl , stdenv , fetchFromGitHub , waylandSupport ? stdenv.isLinux , x11Support ? stdenv.isLinux }: stdenv.mkDerivation rec { pname = "ctpv"; version = "1.0"; src = fetchFromGitHub { owner = "NikitaIvanovV"; repo = "${pname}"; rev = "v${version}"; hash = "sha256-0OuskRCBVm8vMd2zH5u5EPABmCOlEv5N4ZZMdc7bAwM="; }; nativeBuildInputs = [ file # libmagic openssl ]; buildInputs = with pkgs; [ ffmpegthumbnailer ffmpeg ] ++ lib.optional waylandSupport [ chafa ] ++ lib.optional x11Support [ ueberzug ]; makeFlags = [ "PREFIX=$(out)" ]; meta = with lib; { description = "Image previews for lf (list files) file manager"; homepage = "https://github.com/NikitaIvanovV/ctpv"; license = licenses.mit; platforms = platforms.linux; maintainers = [ maintainers.wesleyjrz ]; }; } pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -2264,6 +2264,8 @@ with pkgs; lf = callPackage ../applications/file-managers/lf { }; ctpv = callPackage ../applications/file-managers/lf/ctpv.nix { }; llama = callPackage ../applications/file-managers/llama { }; mc = callPackage ../applications/file-managers/mc { Loading
pkgs/applications/file-managers/lf/ctpv.nix 0 → 100644 +41 −0 Original line number Diff line number Diff line { lib , pkgs , file , openssl , stdenv , fetchFromGitHub , waylandSupport ? stdenv.isLinux , x11Support ? stdenv.isLinux }: stdenv.mkDerivation rec { pname = "ctpv"; version = "1.0"; src = fetchFromGitHub { owner = "NikitaIvanovV"; repo = "${pname}"; rev = "v${version}"; hash = "sha256-0OuskRCBVm8vMd2zH5u5EPABmCOlEv5N4ZZMdc7bAwM="; }; nativeBuildInputs = [ file # libmagic openssl ]; buildInputs = with pkgs; [ ffmpegthumbnailer ffmpeg ] ++ lib.optional waylandSupport [ chafa ] ++ lib.optional x11Support [ ueberzug ]; makeFlags = [ "PREFIX=$(out)" ]; meta = with lib; { description = "Image previews for lf (list files) file manager"; homepage = "https://github.com/NikitaIvanovV/ctpv"; license = licenses.mit; platforms = platforms.linux; maintainers = [ maintainers.wesleyjrz ]; }; }
pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -2264,6 +2264,8 @@ with pkgs; lf = callPackage ../applications/file-managers/lf { }; ctpv = callPackage ../applications/file-managers/lf/ctpv.nix { }; llama = callPackage ../applications/file-managers/llama { }; mc = callPackage ../applications/file-managers/mc {