Merge pull request #247559 from r-ryantm/auto-update/python310Packages.pyrtlsdr
python310Packages.pyrtlsdr: 0.2.93 -> 0.3.0
This commit is contained in:
@@ -4,18 +4,24 @@
|
||||
, fetchpatch
|
||||
, rtl-sdr
|
||||
, setuptools
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyrtlsdr";
|
||||
version = "0.2.93";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-LeKbtOQDcIinjokBK8LMhLc9xFxgYIsot9kD9ikjuiY=";
|
||||
hash = "sha256-+z5YO6BzuGHo4LxeYvZvBzZekUf102SR3krWLyPkU2I=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed "s|driver_files =.*|driver_files = ['${rtl-sdr}/lib/librtlsdr.so']|" -i rtlsdr/librtlsdr.py
|
||||
@@ -27,7 +33,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python wrapper for librtlsdr (a driver for Realtek RTL2832U based SDR's)";
|
||||
homepage = "https://github.com/roger-/pyrtlsdr";
|
||||
license = licenses.gpl3;
|
||||
changelog = "https://github.com/pyrtlsdr/pyrtlsdr/releases/tag/v${version}";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user