Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
978 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
libad9361,
libiio,
libusb1,
soapysdr,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "soapyplutosdr";
version = "0.2.2";
src = fetchFromGitHub {
owner = "pothosware";
repo = "SoapyPlutoSDR";
rev = "soapy-plutosdr-${finalAttrs.version}";
hash = "sha256-uXKvv/QRbYknqsLGlPFxSH7KLh0CucLjq4XEFFcieWw=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
libad9361
libiio
libusb1
soapysdr
];
cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];
meta = with lib; {
homepage = "https://github.com/pothosware/SoapyPlutoSDR";
changelog = "https://github.com/pothosware/SoapyPlutoSDR/blob/soapy-plutosdr-${finalAttrs.version}/Changelog.txt";
description = "SoapySDR plugin for Pluto SDR devices";
license = licenses.lgpl21;
maintainers = with maintainers; [ wucke13 ];
platforms = platforms.unix;
};
})