Loading pkgs/by-name/so/soapyairspy/package.nix +13 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, airspy, soapysdr, Loading @@ -24,6 +25,18 @@ stdenv.mkDerivation rec { soapysdr ]; patches = [ (fetchpatch { url = "https://github.com/pothosware/SoapyAirspy/commit/1be30c33b394fc4d2aeea4287e8df8701adad5a0.patch"; hash = "sha256-ZEIyyd2tOK1diPh8BsEqALHGgdVCV6tZP9xeQNeeXl8="; }) # CMake < 3.5 compat fix. Remove after (https://github.com/pothosware/SoapyAirspy/pull/31 is merged && next version bump). (fetchpatch { url = "https://github.com/pothosware/SoapyAirspy/pull/31/commits/0ee4a5e8edff9f2bbea60dd069d2cc958e314a3e.patch"; hash = "sha256-TQs4rDw+kRmxnuUwhhq9ioCsbKKniwuspSk/c7wazMM="; }) ]; cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ]; meta = with lib; { Loading Loading
pkgs/by-name/so/soapyairspy/package.nix +13 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, airspy, soapysdr, Loading @@ -24,6 +25,18 @@ stdenv.mkDerivation rec { soapysdr ]; patches = [ (fetchpatch { url = "https://github.com/pothosware/SoapyAirspy/commit/1be30c33b394fc4d2aeea4287e8df8701adad5a0.patch"; hash = "sha256-ZEIyyd2tOK1diPh8BsEqALHGgdVCV6tZP9xeQNeeXl8="; }) # CMake < 3.5 compat fix. Remove after (https://github.com/pothosware/SoapyAirspy/pull/31 is merged && next version bump). (fetchpatch { url = "https://github.com/pothosware/SoapyAirspy/pull/31/commits/0ee4a5e8edff9f2bbea60dd069d2cc958e314a3e.patch"; hash = "sha256-TQs4rDw+kRmxnuUwhhq9ioCsbKKniwuspSk/c7wazMM="; }) ]; cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ]; meta = with lib; { Loading