obs-studio-plugins.obs-text-pthread: init at 2.0.2

authored by

Martin Wimpress and committed by helbling.dev 1f7283e6 7a49b67e

+41
+2
pkgs/applications/video/obs-studio/plugins/default.nix
··· 50 50 51 51 obs-teleport = callPackage ./obs-teleport { }; 52 52 53 + obs-text-pthread = callPackage ./obs-text-pthread.nix { }; 54 + 53 55 obs-transition-table = qt6Packages.callPackage ./obs-transition-table.nix { }; 54 56 55 57 obs-vaapi = callPackage ./obs-vaapi { };
+39
pkgs/applications/video/obs-studio/plugins/obs-text-pthread.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , cairo 6 + , obs-studio 7 + , pango 8 + , pkg-config 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + pname = "obs-text-pthread"; 13 + version = "2.0.2"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "norihiro"; 17 + repo = "obs-text-pthread"; 18 + rev = version; 19 + sha256 = "sha256-HN8tSagxmk6FusDrp7d0fi15ardFgUCZBiYkeBqUI34="; 20 + }; 21 + 22 + nativeBuildInputs = [ cmake pkg-config ]; 23 + buildInputs = [ cairo obs-studio pango ]; 24 + 25 + postInstall = '' 26 + mkdir $out/lib $out/share 27 + mv $out/obs-plugins/64bit $out/lib/obs-plugins 28 + rm -rf $out/obs-plugins 29 + mv $out/data $out/share/obs 30 + ''; 31 + 32 + meta = with lib; { 33 + description = "Rich text source plugin for OBS Studio"; 34 + homepage = "https://github.com/norihiro/obs-text-pthread"; 35 + maintainers = with maintainers; [ flexiondotorg ]; 36 + license = licenses.gpl2Plus; 37 + platforms = [ "x86_64-linux" "i686-linux" ]; 38 + }; 39 + }