summaryrefslogtreecommitdiff
path: root/overlays/spice-record.nix
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/spice-record.nix')
-rw-r--r--overlays/spice-record.nix12
1 files changed, 12 insertions, 0 deletions
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 @@
1{ final, prev, sources, ... }: {
2 spice-record = prev.python3Packages.buildPythonPackage rec {
3 inherit (sources.spice-record) src version pname;
4 propagatedBuildInputs = with prev.python3Packages; [ libvirt pygobject3 ];
5 buildInputs = with prev; [ spice-gtk gst_all_1.gst-plugins-base ];
6 nativeBuildInputs = with prev; [ gobject-introspection wrapGAppsHook3 makeWrapper ];
7 postInstall = ''
8 wrapProgram $out/bin/spice-record \
9 --prefix PATH : ${prev.lib.makeBinPath (with prev; [ ffmpeg-full ])}
10 '';
11 };
12}