summary refs log tree commit diff
path: root/pkgs/development/python-modules/mypy/extensions.nix
blob: 5992a6815d8e45efc86b583d129208f16f73e1be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchPypi, buildPythonPackage, typing, pythonOlder }:

buildPythonPackage rec {
  pname = "mypy-extensions";
  version = "0.4.3";

  # Tests not included in pip package.
  doCheck = false;

  src = fetchPypi {
    inherit version;
    pname = "mypy_extensions";
    sha256 = "2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8";
  };

  propagatedBuildInputs = if pythonOlder "3.5" then [ typing ] else [ ];

  meta = with lib; {
    description = "Experimental type system extensions for programs checked with the mypy typechecker";
    homepage    = "http://www.mypy-lang.org";
    license     = licenses.mit;
    maintainers = with maintainers; [ martingms lnl7 ];
  };
}