13 buildPythonPackage rec {
14 pname = "pytest-openfiles";
16 format = "setuptools";
17 disabled = isPy27; # abandoned
20 inherit pname version;
21 sha256 = "179c2911d8aee3441fee051aba08e0d9b4dab61b829ae4811906d5c49a3b0a58";
26 name = "replace-distutils-with-packaging.patch";
27 url = "https://github.com/astropy/pytest-openfiles/commit/e17e8123936689b0b0ecfb713976588d6793d8bb.patch";
28 includes = [ "pytest_openfiles/plugin.py" ];
29 hash = "sha256-+6xqOwnBO+jxenXxPdDhLqqm3w+ZRjWeVqqgz8j22bU=";
33 nativeBuildInputs = [ setuptools-scm ];
35 buildInputs = [ pytest ];
37 propagatedBuildInputs = [
42 nativeCheckInputs = [ pytestCheckHook ];
45 description = "Pytest plugin for detecting inadvertent open file handles";
46 homepage = "https://astropy.org";
47 license = licenses.bsd3;