File tree Expand file tree Collapse file tree
pkgs/by-name/so/soapysdrplay Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2+ index 1ca2171..2928008 100644
3+ --- a/CMakeLists.txt
4+ +++ b/CMakeLists.txt
5+ @@ -1,7 +1,7 @@
6+ ########################################################################
7+ # Build Soapy SDR support module for SDRplay (API version 3)
8+ ########################################################################
9+ - cmake_minimum_required(VERSION 2.8.12)
10+ + cmake_minimum_required(VERSION 3.10)
11+ project(SoapySDRPlay CXX)
12+
13+ find_package(SoapySDR "0.4.0" NO_MODULE REQUIRED)
Original file line number Diff line number Diff line change 88 sdrplay ,
99} :
1010
11- stdenv . mkDerivation rec {
11+ stdenv . mkDerivation ( finalAttrs : {
1212 pname = "soapysdr-sdrplay3" ;
13- version = "0.4.0 " ;
13+ version = "0.5.2 " ;
1414
1515 src = fetchFromGitHub {
1616 owner = "pothosware" ;
1717 repo = "SoapySDRPlay3" ;
18- rev = "soapy-sdrplay3-${ version } " ;
19- sha256 = "sha256-WMcAw0uR2o2SrQR4mBtdVEZlJ/ZXRqwo6zMJNsB/5U4 =" ;
18+ rev = "soapy-sdrplay3-${ finalAttrs . version } " ;
19+ hash = "sha256-5XBOUhI/37sMfdVEb19zWU00/j+Nb30wsP5CXjJ+sJY =" ;
2020 } ;
2121
22+ patches = [ ./cmake.patch ] ;
23+
2224 nativeBuildInputs = [
2325 cmake
2426 pkg-config
@@ -38,6 +40,11 @@ stdenv.mkDerivation rec {
3840 homepage = "https://github.com/pothosware/SoapySDRPlay3" ;
3941 license = lib . licenses . mit ;
4042 maintainers = [ lib . maintainers . pmenke ] ;
41- platforms = lib . platforms . linux ;
43+ platforms = [
44+ "x86_64-linux"
45+ "aarch64-linux"
46+ "x86_64-darwin"
47+ "aarch64-darwin"
48+ ] ;
4249 } ;
43- }
50+ } )
You can’t perform that action at this time.
0 commit comments