biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / manuel / default.nix
blob89a7dc660532358927b739848575a087d7b80e21
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   fetchpatch,
6   python,
7   isPy27,
8   six,
9   zope-testing,
12 buildPythonPackage rec {
13   pname = "manuel";
14   version = "1.12.4";
15   format = "setuptools";
16   disabled = isPy27;
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-A5Wq32mR+SSseVz61Z2l3AYYcyqMxYrQ9HSWWrco9/Q=";
21   };
23   patches = lib.optionals (lib.versionAtLeast python.version "3.11") [
24     # https://github.com/benji-york/manuel/pull/32
25     # Applying conditionally until upstream arrives at some general solution.
26     (fetchpatch {
27       name = "TextTestResult-python311.patch";
28       url = "https://github.com/benji-york/manuel/commit/d9f12d03e39bb76e4bb3ba43ad51af6d3e9d45c0.diff";
29       hash = "sha256-k0vBtxEixoI1INiKtc7Js3Ai00iGAcCvCFI1ZIBRPvQ=";
30     })
31   ];
33   propagatedBuildInputs = [ six ];
34   nativeCheckInputs = [ zope-testing ];
36   meta = with lib; {
37     description = "Documentation builder";
38     homepage = "https://pypi.python.org/pypi/manuel";
39     license = licenses.zpl20;
40   };