10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-+z5YO6BzuGHo4LxeYvZvBzZekUf102SR3krWLyPkU2I=";
22 propagatedBuildInputs = [
27 sed "s|driver_files =.*|driver_files = ['${rtl-sdr}/lib/librtlsdr.so']|" -i rtlsdr/librtlsdr.py
30 # No tests that can be used.
34 description = "Python wrapper for librtlsdr (a driver for Realtek RTL2832U based SDR's)";
35 homepage = "https://github.com/roger-/pyrtlsdr";
36 changelog = "https://github.com/pyrtlsdr/pyrtlsdr/releases/tag/v${version}";
37 license = licenses.gpl3Plus;
38 platforms = platforms.unix;
39 maintainers = with maintainers; [ bjornfor ];