mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
snscrape: fix startup
This fixes: Traceback (most recent call last): File "/nix/store/607z14x0spsz1lsh0fg9cbyc9lr038mi-python3.7-snscrape-0.3.0/bin/.snscrape-wrapped", line 11, in <module> sys.exit(main()) File "/nix/store/607z14x0spsz1lsh0fg9cbyc9lr038mi-python3.7-snscrape-0.3.0/lib/python3.7/site-packages/snscrape/cli.py", line 218, in main args = parse_args() File "/nix/store/607z14x0spsz1lsh0fg9cbyc9lr038mi-python3.7-snscrape-0.3.0/lib/python3.7/site-packages/snscrape/cli.py", line 154, in parse_args import snscrape.version File "/nix/store/607z14x0spsz1lsh0fg9cbyc9lr038mi-python3.7-snscrape-0.3.0/lib/python3.7/site-packages/snscrape/version.py", line 1, in <module> import pkg_resources ModuleNotFoundError: No module named 'pkg_resources' Related: https://github.com/NixOS/nixpkgs/pull/68314
This commit is contained in:
parent
b425012fdf
commit
7e7c98a199
@ -3,6 +3,7 @@
|
|||||||
, isPy3k
|
, isPy3k
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
|
, setuptools
|
||||||
, requests
|
, requests
|
||||||
, lxml
|
, lxml
|
||||||
, beautifulsoup4
|
, beautifulsoup4
|
||||||
@ -26,7 +27,7 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
propagatedBuildInputs = [ requests lxml beautifulsoup4 ];
|
propagatedBuildInputs = [ setuptools requests lxml beautifulsoup4 ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/JustAnotherArchivist/snscrape;
|
homepage = https://github.com/JustAnotherArchivist/snscrape;
|
||||||
|
Loading…
Reference in New Issue
Block a user