soapysdr: 0.8.1 -> 0.8.2-pre (fix python3.12 compat) (#356651)
This commit is contained in:
commit
99cb6b521d
@ -2,7 +2,6 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
|
||||||
cmake,
|
cmake,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
@ -18,22 +17,17 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "soapysdr";
|
pname = "soapysdr";
|
||||||
version = "0.8.1";
|
version = "0.8.2-pre";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pothosware";
|
owner = "pothosware";
|
||||||
repo = "SoapySDR";
|
repo = "SoapySDR";
|
||||||
rev = "soapy-sdr-${finalAttrs.version}";
|
|
||||||
sha256 = "19f2x0pkxvf9figa0pl6xqlcz8fblvqb19mcnj632p0l8vk6qdv2";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [
|
# Instead of applying several patches for Python 3.12 compat, just take the latest, from:
|
||||||
# Fix for https://github.com/pothosware/SoapySDR/issues/352
|
# use old get python lib for v2 (#437)
|
||||||
(fetchpatch {
|
rev = "8c6cb7c5223fad995e355486527589c63aa3b21e";
|
||||||
url = "https://github.com/pothosware/SoapySDR/commit/10c05b3e52caaa421147d6b4623eccd3fc3be3f4.patch";
|
hash = "sha256-CKasL1mlpeuxXyPe6VDdAvb1l5a1cwWgyP7XX1aM73I=";
|
||||||
hash = "sha256-D7so6NSZiU6SXbzns04Q4RjSZW0FJ+MYobvvVpVMjws=";
|
};
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
@ -79,7 +73,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
homepage = "https://github.com/pothosware/SoapySDR";
|
homepage = "https://github.com/pothosware/SoapySDR";
|
||||||
description = "Vendor and platform neutral SDR support library";
|
description = "Vendor and platform neutral SDR support library";
|
||||||
license = licenses.boost;
|
license = licenses.boost;
|
||||||
maintainers = with maintainers; [ markuskowa ];
|
maintainers = with maintainers; [
|
||||||
|
markuskowa
|
||||||
|
numinit
|
||||||
|
];
|
||||||
mainProgram = "SoapySDRUtil";
|
mainProgram = "SoapySDRUtil";
|
||||||
pkgConfigModules = [ "SoapySDR" ];
|
pkgConfigModules = [ "SoapySDR" ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
Loading…
Reference in New Issue
Block a user