python310Packages.snscrape: unstable-2021-08-30 -> 0.4.3.20220106

main
Fabian Affolter 2 years ago committed by Jonathan Ringer
parent cbda7b33aa
commit 0eb07062a2
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0
  1. 15
      pkgs/development/python-modules/snscrape/default.nix

@ -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…
Cancel
Save