{ final, prev, sources, ... }: { spice-record = prev.python3Packages.buildPythonPackage rec { inherit (sources.spice-record) src version pname; propagatedBuildInputs = with prev.python3Packages; [ libvirt pygobject3 ]; buildInputs = with prev; [ spice-gtk gst_all_1.gst-plugins-base ]; nativeBuildInputs = with prev; [ gobject-introspection wrapGAppsHook3 makeWrapper ]; postInstall = '' wrapProgram $out/bin/spice-record \ --prefix PATH : ${prev.lib.makeBinPath (with prev; [ ffmpeg-full ])} ''; }; }