Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pytest-openfiles / default.nix
blobac7936c0146eecb4f39f9785d6ca2e939c3a632b
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPy27
5 , pytest
6 , pytestCheckHook
7 , psutil
8 , setuptools-scm
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-openfiles";
13   version = "0.5.0";
14   disabled = isPy27; # abandoned
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "179c2911d8aee3441fee051aba08e0d9b4dab61b829ae4811906d5c49a3b0a58";
19   };
21   nativeBuildInputs = [ setuptools-scm ];
23   buildInputs = [ pytest ];
25   propagatedBuildInputs = [
26     psutil
27   ];
29   nativeCheckInputs = [ pytestCheckHook ];
31   meta = with lib; {
32     description = "Pytest plugin for detecting inadvertent open file handles";
33     homepage = "https://astropy.org";
34     license = licenses.bsd3;
35     maintainers = [ ];
36   };