pythonPackages.pyrtlsdr: unbreak build
pyrtlsdr needs pandoc at build time. Fixes the build since commit f6eb190e7030feac015bd1624d0dbb6825e28a9e ("python.pkgs.pyrtlsdr: disable tests to fix build"). (That commit bumped the package to a new version.)
This commit is contained in:
parent
dd09675347
commit
2cf1b94b82
@ -2,6 +2,8 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, rtl-sdr
|
, rtl-sdr
|
||||||
|
, pypandoc
|
||||||
|
, pandoc
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -14,6 +16,8 @@ buildPythonPackage rec {
|
|||||||
sha256 = "dd041143b68628c713c2227c78c40b0b4a0cb5d08df116f7bdc5f83c529be0e4";
|
sha256 = "dd041143b68628c713c2227c78c40b0b4a0cb5d08df116f7bdc5f83c529be0e4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pypandoc pandoc ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed "s|driver_files =.*|driver_files = ['${rtl-sdr}/lib/librtlsdr.so']|" -i rtlsdr/librtlsdr.py
|
sed "s|driver_files =.*|driver_files = ['${rtl-sdr}/lib/librtlsdr.so']|" -i rtlsdr/librtlsdr.py
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user