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