diff options
author | 1sixth <1sixth@shinta.ro> | 2024-06-10 09:37:33 +0800 |
---|---|---|
committer | 1sixth <1sixth@shinta.ro> | 2024-06-10 09:37:33 +0800 |
commit | 54072d588d367675e4261eb2da42923117b54a1d (patch) | |
tree | 34afa73a9a81a131edc1875bb8575f38b39eed50 /pkgs/applications/video | |
parent | f862ae2e3137702ca3df7c1cea80f28431df492f (diff) | |
download | nixlib-54072d588d367675e4261eb2da42923117b54a1d.tar nixlib-54072d588d367675e4261eb2da42923117b54a1d.tar.gz nixlib-54072d588d367675e4261eb2da42923117b54a1d.tar.bz2 nixlib-54072d588d367675e4261eb2da42923117b54a1d.tar.lz nixlib-54072d588d367675e4261eb2da42923117b54a1d.tar.xz nixlib-54072d588d367675e4261eb2da42923117b54a1d.tar.zst nixlib-54072d588d367675e4261eb2da42923117b54a1d.zip |
mpv: allow ofborg to execute the test
Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/mpv/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix index b5672d7afa46..4600cfb48cb6 100644 --- a/pkgs/applications/video/mpv/default.nix +++ b/pkgs/applications/video/mpv/default.nix @@ -50,6 +50,7 @@ meson, mujs, ninja, + nixosTests, nv-codec-headers-11, openalSoft, pipewire, @@ -60,6 +61,7 @@ speex, stdenv, swift, + testers, vapoursynth, vulkan-headers, vulkan-loader, @@ -351,6 +353,18 @@ stdenv'.mkDerivation (finalAttrs: { wrapper = callPackage ./wrapper.nix { }; scripts = callPackage ./scripts { }; + + tests = { + inherit (nixosTests) mpv; + + version = testers.testVersion { + package = finalAttrs.finalPackage; + }; + pkg-config = testers.hasPkgConfigModules { + package = finalAttrs.finalPackage; + moduleNames = [ "mpv" ]; + }; + }; }; meta = { |