16 pname = "nose2pytest";
20 src = fetchFromGitHub {
24 hash = "sha256-BYyj2ZOZvWBpmzQACpmxAzCdQhlZlDYt+HLMdft+wYY=";
28 # Drop Python 3.6 and 3.7 support
30 # Relaxes the runtime check for Python < 3.12.
32 url = "https://github.com/pytest-dev/nose2pytest/commit/75ff506aaf11b5e20672441730657ee7540387e1.patch?full_index=1";
33 hash = "sha256-BpazrsB4b1oMBx9OemdVxhj/Jqbc8RKv2GC6gqkdGK8=";
37 build-system = [ setuptools ];
44 # Tests depend on nose!
47 pythonImportsCheck = [ "nose2pytest.assert_tools" ];
50 description = "Scripts to convert Python Nose tests to PyTest";
51 homepage = "https://github.com/pytest-dev/nose2pytest";
52 sourceProvenance = [ lib.sourceTypes.fromSource ];
53 license = lib.licenses.bsd3;
54 maintainers = [ lib.maintainers.emily ];
55 mainProgram = "nose2pytest";