Merge pull request #208559 from wesleyjrz/add-ctpv

ctpv: init at v1.0

authored by

Luke Granger-Brown and committed by
GitHub
fedc4944 d41b43a6

+43
+41
pkgs/applications/file-managers/lf/ctpv.nix
··· 1 + { lib 2 + , pkgs 3 + , file 4 + , openssl 5 + , stdenv 6 + , fetchFromGitHub 7 + , waylandSupport ? stdenv.isLinux 8 + , x11Support ? stdenv.isLinux 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + pname = "ctpv"; 13 + version = "1.0"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "NikitaIvanovV"; 17 + repo = "${pname}"; 18 + rev = "v${version}"; 19 + hash = "sha256-0OuskRCBVm8vMd2zH5u5EPABmCOlEv5N4ZZMdc7bAwM="; 20 + }; 21 + 22 + nativeBuildInputs = [ 23 + file # libmagic 24 + openssl 25 + ]; 26 + 27 + buildInputs = with pkgs; [ 28 + ffmpegthumbnailer ffmpeg 29 + ] ++ lib.optional waylandSupport [ chafa ] 30 + ++ lib.optional x11Support [ ueberzug ]; 31 + 32 + makeFlags = [ "PREFIX=$(out)" ]; 33 + 34 + meta = with lib; { 35 + description = "Image previews for lf (list files) file manager"; 36 + homepage = "https://github.com/NikitaIvanovV/ctpv"; 37 + license = licenses.mit; 38 + platforms = platforms.linux; 39 + maintainers = [ maintainers.wesleyjrz ]; 40 + }; 41 + }
+2
pkgs/top-level/all-packages.nix
··· 2402 2402 2403 2403 lf = callPackage ../applications/file-managers/lf { }; 2404 2404 2405 + ctpv = callPackage ../applications/file-managers/lf/ctpv.nix { }; 2406 + 2405 2407 llama = callPackage ../applications/file-managers/llama { }; 2406 2408 2407 2409 mc = callPackage ../applications/file-managers/mc {