diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-02-06 23:16:20 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-02-07 12:15:32 -0500 |
commit | f0636c60556efb4c0330ba69a0ecdce4a6f60b93 (patch) | |
tree | 06d58180b3dacb3ac693d393273a3f1d5377e884 /pkgs/applications/radio/soapysdr | |
parent | a2faa3cc5ecb9f7adb3453a05d5302209bca418a (diff) |
treewide: Add `meta.pkgConfigModules` to a few packages
Picking up where https://github.com/NixOS/nixpkgs/pull/214304 left off.
Diffstat (limited to 'pkgs/applications/radio/soapysdr')
-rw-r--r-- | pkgs/applications/radio/soapysdr/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/applications/radio/soapysdr/default.nix b/pkgs/applications/radio/soapysdr/default.nix index adf997773eccf..59a1e0f59acc4 100644 --- a/pkgs/applications/radio/soapysdr/default.nix +++ b/pkgs/applications/radio/soapysdr/default.nix @@ -5,7 +5,8 @@ , python ? null , ncurses, swig2 , extraPackages ? [] -} : +, testers +}: let @@ -14,7 +15,7 @@ let modulesPath = "lib/SoapySDR/modules" + modulesVersion; extraPackagesSearchPath = lib.makeSearchPath modulesPath extraPackages; -in stdenv.mkDerivation { +in stdenv.mkDerivation (finalAttrs: { pname = "soapysdr"; inherit version; @@ -58,12 +59,15 @@ in stdenv.mkDerivation { done ''; + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + meta = with lib; { homepage = "https://github.com/pothosware/SoapySDR"; description = "Vendor and platform neutral SDR support library"; license = licenses.boost; maintainers = with maintainers; [ markuskowa ]; mainProgram = "SoapySDRUtil"; + pkgConfigModules = [ "SoapySDR" ]; platforms = platforms.unix; }; -} +}) |