Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pyannotate / default.nix
blob053844d71fe9a3d7d6fb1bf5cf62e59d32183547
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , mypy-extensions
5 , pytestCheckHook
6 , pythonOlder
7 , six
8 }:
10 buildPythonPackage rec {
11   pname = "pyannotate";
12   version = "1.2.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-BO1YBLqzgVPVmB/JLYPc9qIog0U3aFYfBX53flwFdZk=";
20   };
22   propagatedBuildInputs = [
23     six
24     mypy-extensions
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "pyannotate_runtime"
33     "pyannotate_tools"
34   ];
36   meta = with lib; {
37     description = "Auto-generate PEP-484 annotations";
38     homepage = "https://github.com/dropbox/pyannotate";
39     license = licenses.mit;
40     maintainers = with maintainers; [ ];
41   };