Merge pull request #220052 from mweinelt/fake-cchardet
python310Packages.faust-cchardet: Fake cchardet dist-info
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
, setuptools
|
||||
, wheel
|
||||
, pytestCheckHook
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -29,6 +30,12 @@ buildPythonPackage rec {
|
||||
wheel
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
# fake cchardet distinfo, so packages that depend on cchardet
|
||||
# accept it as a drop-in replacement
|
||||
ln -s $out/${python.sitePackages}/{faust_,}cchardet-${version}.dist-info
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cchardet"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user