11 , readability-extractor
17 python = python3.override {
19 packageOverrides = self: super: {
20 django = super.django_3.overridePythonAttrs (old: rec {
22 src = old.src.override {
24 hash = "sha256-cqSloTaiFMOc8BbM3Wtp4qoIx0ecZtk/OpteS7nYo0c=";
27 knownVulnerabilities = [
38 django-extensions = super.django-extensions.overridePythonAttrs (old: rec {
40 src = fetchFromGitHub {
42 owner = "django-extensions";
43 repo = "django-extensions";
44 rev = "e43f383dae3a35237e42f6acfe1207a8e7e7bdf5";
45 hash = "sha256-NAMa78KhAuoJfp0Cb0Codz84sRfRQ1JhSLNYRI4GBPM=";
48 # possibly a real issue, but that version is not supported anymore
55 python.pkgs.buildPythonApplication rec {
61 inherit pname version;
62 hash = "sha256-hdBUEX2tOWN2b11w6aG3x7MP7KQTj4Rwc2w8XvABGf4=";
65 nativeBuildInputs = with python.pkgs; [
69 propagatedBuildInputs = with python.pkgs; [
83 "--set USE_NODE True" # used through dependencies, not needed explicitly
84 "--set READABILITY_BINARY ${lib.meta.getExe readability-extractor}"
85 "--set MERCURY_BINARY ${lib.meta.getExe postlight-parser}"
86 "--set CURL_BINARY ${lib.meta.getExe curl}"
87 "--set RIPGREP_BINARY ${lib.meta.getExe ripgrep}"
88 "--set WGET_BINARY ${lib.meta.getExe wget}"
89 "--set GIT_BINARY ${lib.meta.getExe git}"
90 "--set YOUTUBEDL_BINARY ${lib.meta.getExe yt-dlp}"
91 ] ++ (if (lib.meta.availableOn stdenv.hostPlatform chromium) then [
92 "--set CHROME_BINARY ${chromium}/bin/chromium-browser"
94 "--set-default USE_CHROME False"
98 description = "Open source self-hosted web archiving";
99 homepage = "https://archivebox.io";
100 license = licenses.mit;
101 maintainers = with maintainers; [ siraben viraptor ];
102 platforms = platforms.unix;