File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
pkgs/development/python-modules/help2man Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 buildPythonPackage ,
44 fetchFromGitHub ,
5- pythonOlder ,
5+ pythonAtLeast ,
66 jinja2 ,
77 setuptools-scm ,
88 shtab ,
@@ -15,26 +15,31 @@ buildPythonPackage rec {
1515 version = "0.0.9" ;
1616 pyproject = true ;
1717
18- disabled = pythonOlder "3.9" ;
19-
2018 src = fetchFromGitHub {
2119 owner = "Freed-Wu" ;
2220 repo = "help2man" ;
2321 rev = version ;
2422 hash = "sha256-BIDn+LQzBtDHUtFvIRL3NMXNouO3cMLibuYBoFtCUxI=" ;
2523 } ;
2624
27- nativeBuildInputs = [
25+ build-system = [
2826 jinja2
2927 setuptools-scm
3028 shtab
3129 tomli
3230 ] ;
3331
34- propagatedBuildInputs = [ jinja2 ] ;
32+ dependencies = [ jinja2 ] ;
3533
3634 nativeCheckInputs = [ pytestCheckHook ] ;
3735
36+ disabledTests = lib . optionals ( pythonAtLeast "3.13" ) [
37+ # Checks the output of `help2man --help`.
38+ # Broken since 3.13 due to changes in `argparse`.
39+ # Upstream issue: https://github.com/Freed-Wu/help2man/issues/6
40+ "test_help"
41+ ] ;
42+
3843 pythonImportsCheck = [ "help2man" ] ;
3944
4045 meta = with lib ; {
You can’t perform that action at this time.
0 commit comments