diff options
Diffstat (limited to 'overlays/spice-record.nix')
| -rw-r--r-- | overlays/spice-record.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/overlays/spice-record.nix b/overlays/spice-record.nix index 2d37079b..0ec2799d 100644 --- a/overlays/spice-record.nix +++ b/overlays/spice-record.nix | |||
| @@ -1,14 +1,15 @@ | |||
| 1 | { final, prev, sources, ... }: { | 1 | { final, prev, sources, ... }: { |
| 2 | spice-record = prev.python3Packages.buildPythonPackage rec { | 2 | spice-record = final.python3Packages.buildPythonPackage rec { |
| 3 | inherit (sources.spice-record) src version pname; | 3 | pname = "spicerecord"; |
| 4 | propagatedBuildInputs = with prev.python3Packages; [ libvirt pygobject3 ]; | 4 | inherit (sources.spice-record) src version; |
| 5 | buildInputs = with prev; [ spice-gtk gst_all_1.gst-plugins-base ]; | 5 | propagatedBuildInputs = with final.python3Packages; [ libvirt pygobject3 ]; |
| 6 | nativeBuildInputs = with prev; [ gobject-introspection wrapGAppsHook3 makeWrapper ]; | 6 | buildInputs = with final; [ spice-gtk gst_all_1.gst-plugins-base ]; |
| 7 | nativeBuildInputs = with final; [ gobject-introspection wrapGAppsHook3 makeWrapper ]; | ||
| 7 | postInstall = '' | 8 | postInstall = '' |
| 8 | wrapProgram $out/bin/spice-record \ | 9 | wrapProgram $out/bin/spice-record \ |
| 9 | --prefix PATH : ${prev.lib.makeBinPath (with prev; [ ffmpeg-full ])} | 10 | --prefix PATH : ${final.lib.makeBinPath (with final; [ ffmpeg-headless ])} |
| 10 | ''; | 11 | ''; |
| 11 | pyproject = true; | 12 | pyproject = true; |
| 12 | build-system = [ prev.python3Packages.setuptools ]; | 13 | build-system = [ final.python3Packages.setuptools ]; |
| 13 | }; | 14 | }; |
| 14 | } | 15 | } |
