python310Packages.snscrape: unstable-2021-08-30 -> 0.4.3.20220106
This commit is contained in:
parent
cbda7b33aa
commit
0eb07062a2
|
@ -2,6 +2,7 @@
|
|||
, beautifulsoup4
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, filelock
|
||||
, lxml
|
||||
, pythonOlder
|
||||
, pytz
|
||||
|
@ -11,15 +12,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "snscrape";
|
||||
version = "unstable-2021-08-30";
|
||||
version = "0.4.3.20220106";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "JustAnotherArchivist";
|
||||
repo = pname;
|
||||
rev = "c76f1637ce1d7a154af83495b67ead2559cd5715";
|
||||
sha256 = "01x4961fxj1p98y6fcyxw5sv8fa87x41fdx9p31is12bdkmqxi6v";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-gphNT1IYSiAw22sqHlV8Rm4WRP4EWUvP0UkITuepmMc=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
@ -30,6 +32,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
beautifulsoup4
|
||||
filelock
|
||||
lxml
|
||||
requests
|
||||
]
|
||||
|
@ -44,11 +47,13 @@ buildPythonPackage rec {
|
|||
snscrape --help
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "snscrape" ];
|
||||
pythonImportsCheck = [
|
||||
"snscrape"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A social networking service scraper";
|
||||
homepage = "https://github.com/JustAnotherArchivist/snscrape";
|
||||
description = "A social networking service scraper in Python";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ivan ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue