diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-11-08 15:58:13 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-11-08 15:58:13 +0100 |
commit | 5440c73f19ae9bfac70c79da83241c158ceb7d4a (patch) | |
tree | 040aeff551fcb65d4978782d7485ec9210752307 /overlays | |
parent | df7627ba7cf12da86325e97a941df335ccbf092e (diff) | |
download | nixos-5440c73f19ae9bfac70c79da83241c158ceb7d4a.tar nixos-5440c73f19ae9bfac70c79da83241c158ceb7d4a.tar.gz nixos-5440c73f19ae9bfac70c79da83241c158ceb7d4a.tar.bz2 nixos-5440c73f19ae9bfac70c79da83241c158ceb7d4a.tar.xz nixos-5440c73f19ae9bfac70c79da83241c158ceb7d4a.zip |
...
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/spice-record.nix | 12 |
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 | } | ||