From ddd43b814baf322712d14c69b993594e46c5fbc8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 18 Jan 2026 19:09:04 +0100 Subject: [PATCH] python3Packages.hypothesis: drop docs They were in passthru to save on dependencies, but that means they don't get built anymore, so in hindsight they haven't been maintained for a long time now. The way forward is to Use https://hypothesis.readthedocs.io/en/latest/ instead. --- .../python-modules/hypothesis/default.nix | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/pkgs/development/python-modules/hypothesis/default.nix b/pkgs/development/python-modules/hypothesis/default.nix index ce6f3671a2ae..92d5128f3156 100644 --- a/pkgs/development/python-modules/hypothesis/default.nix +++ b/pkgs/development/python-modules/hypothesis/default.nix @@ -10,15 +10,9 @@ doCheck ? true, pytestCheckHook, pytest-xdist, - python, sortedcontainers, - stdenv, pythonAtLeast, pythonOlder, - sphinxHook, - sphinx-rtd-theme, - sphinx-hoverxref, - sphinx-codeautolink, tzdata, }: @@ -137,30 +131,6 @@ buildPythonPackage rec { pythonImportsCheck = [ "hypothesis" ]; - passthru = { - doc = stdenv.mkDerivation { - # Forge look and feel of multi-output derivation as best as we can. - # - # Using 'outputs = [ "doc" ];' breaks a lot of assumptions. - pname = "${pname}-doc"; - inherit src version; - - postInstallSphinx = '' - mv $out/share/doc/* $out/share/doc/python$pythonVersion-$pname-$version - ''; - - nativeBuildInputs = [ - sphinxHook - sphinx-rtd-theme - sphinx-hoverxref - sphinx-codeautolink - ]; - - inherit (python) pythonVersion; - inherit meta; - }; - }; - meta = { description = "Library for property based testing"; mainProgram = "hypothesis";