Files
nixpkgs/pkgs/development/python-modules/ludios_wpull/default.nix
Ivan Kozik b5e87f5f2e grab-site: 2.2.0 -> 2.2.2; pythonPackages.ludios_wpull: 3.0.7 -> 3.0.9
Use SQLAlchemy 1.3 because ludios_wpull is incompatible with SQLAlchemy 1.4.

Use Python 3.8 instead of Python 3.7, as namedlist 1.8 fixed compatibility
with Python 3.8. We cannot use Python 3.9 until
https://github.com/ArchiveTeam/ludios_wpull/issues/20 is fixed.
2021-11-20 04:54:58 +00:00

42 lines
928 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, chardet
, dnspython
, html5-parser
, lxml
, namedlist
, sqlalchemy
, tornado
, Yapsy
, pythonAtLeast
}:
buildPythonPackage rec {
pname = "ludios_wpull";
version = "3.0.9";
# https://github.com/ArchiveTeam/ludios_wpull/issues/20
disabled = pythonAtLeast "3.9";
src = fetchFromGitHub {
rev = version;
owner = "ludios";
repo = "wpull";
sha256 = "0j4dir0dgg8pkf4d1znicz6wyyi1wzij50r21z838cycsdr54j4c";
};
propagatedBuildInputs = [ chardet dnspython html5-parser lxml namedlist sqlalchemy tornado Yapsy ];
# Test suite has tests that fail on all platforms
doCheck = false;
meta = {
description = "Web crawler; fork of wpull used by grab-site";
homepage = "https://github.com/ludios/wpull";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ ivan ];
broken = lib.versions.major tornado.version != "4";
};
}