My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/ludios_wpull/default.nix

41 lines
952 B

{ 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 = "ArchiveTeam";
repo = "ludios_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/ArchiveTeam/ludios_wpull";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ ivan ];
broken = lib.versions.major tornado.version != "4";
};
}