Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 49 lines 851 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 obs-studio, 6 cmake, 7 zlib, 8 curl, 9 dbus, 10 pkg-config, 11 qtbase, 12 wrapQtAppsHook, 13}: 14 15stdenv.mkDerivation (finalAttrs: { 16 pname = "obs-tuna"; 17 version = "1.9.10"; 18 19 nativeBuildInputs = [ 20 cmake 21 pkg-config 22 wrapQtAppsHook 23 ]; 24 buildInputs = [ 25 obs-studio 26 qtbase 27 zlib 28 curl 29 dbus 30 ]; 31 32 src = fetchFromGitHub { 33 owner = "univrsal"; 34 repo = "tuna"; 35 rev = "v${finalAttrs.version}"; 36 hash = "sha256-Y4ny8XJIk4KtmRTWdO6tHevT4Ivr1TqkNMNhua499sY="; 37 fetchSubmodules = true; 38 }; 39 40 dontWrapQtApps = true; 41 42 meta = { 43 description = "Song information plugin for obs-studio"; 44 homepage = "https://github.com/univrsal/tuna"; 45 license = lib.licenses.gpl2Only; 46 maintainers = with lib.maintainers; [ shortcord ]; 47 platforms = lib.platforms.linux; 48 }; 49})