vivictpp: init at 0.3.1

tilpner d7a9402f 7fc7433d

+75
+73
pkgs/applications/video/vivictpp/default.nix
···
··· 1 + { lib, stdenv, fetchFromGitHub 2 + , meson, cmake, ninja, pkg-config 3 + , python3, git 4 + , SDL2, SDL2_ttf 5 + , freetype, harfbuzz 6 + , ffmpeg 7 + , cacert }: 8 + 9 + let 10 + version = "0.3.1"; 11 + withSubprojects = stdenv.mkDerivation { 12 + name = "sources-with-subprojects"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "vivictorg"; 16 + repo = "vivictpp"; 17 + rev = "v${version}"; 18 + hash = "sha256-6YfYeUrM7cq8hnOPMq0Uq/HToFBDri0N/r0SU0LeT/Y="; 19 + }; 20 + 21 + nativeBuildInputs = [ 22 + meson 23 + cacert 24 + git 25 + ]; 26 + 27 + buildCommand = '' 28 + cp -r --no-preserve=mode $src $out 29 + cd $out 30 + 31 + meson subprojects download 32 + find subprojects -type d -name .git -prune -execdir rm -r {} + 33 + ''; 34 + 35 + outputHashMode = "recursive"; 36 + outputHash = "sha256-lIm2Bwy61St9d1e6QSm5ZpSIDR9ucaQKBPHATTDEgW4="; 37 + }; 38 + in stdenv.mkDerivation rec { 39 + pname = "vivictpp"; 40 + inherit version; 41 + 42 + src = withSubprojects; 43 + 44 + nativeBuildInputs = [ 45 + meson 46 + cmake 47 + ninja 48 + pkg-config 49 + 50 + python3 51 + git 52 + ]; 53 + 54 + buildInputs = [ 55 + SDL2 56 + SDL2_ttf 57 + freetype 58 + harfbuzz 59 + ffmpeg 60 + ]; 61 + 62 + preConfigure = '' 63 + patchShebangs . 64 + ''; 65 + 66 + meta = with lib; { 67 + description = "An easy to use tool for subjective comparison of the visual quality of different encodings of the same video source"; 68 + homepage = "https://github.com/vivictorg/vivictpp"; 69 + license = licenses.gpl2Plus; 70 + platforms = platforms.unix; 71 + maintainers = with maintainers; [ tilpner ]; 72 + }; 73 + }
+2
pkgs/top-level/all-packages.nix
··· 34845 else null; 34846 }; 34847 34848 vpcs = callPackage ../applications/virtualization/vpcs { }; 34849 34850 primusLib = callPackage ../tools/X11/primus/lib.nix {
··· 34845 else null; 34846 }; 34847 34848 + vivictpp = callPackage ../applications/video/vivictpp { }; 34849 + 34850 vpcs = callPackage ../applications/virtualization/vpcs { }; 34851 34852 primusLib = callPackage ../tools/X11/primus/lib.nix {