From 5440c73f19ae9bfac70c79da83241c158ceb7d4a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 8 Nov 2024 15:58:13 +0100 Subject: ... --- overlays/spice-record.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 overlays/spice-record.nix (limited to 'overlays') diff --git a/overlays/spice-record.nix b/overlays/spice-record.nix new file mode 100644 index 00000000..06a114da --- /dev/null +++ b/overlays/spice-record.nix @@ -0,0 +1,12 @@ +{ 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 ])} + ''; + }; +} -- cgit v1.2.3