depot/third_party/nixpkgs/pkgs/development/python-modules/mypy/extensions.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

24 lines
699 B
Nix

{ 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 = lib.optional (pythonOlder "3.5") typing;
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 SuperSandro2000 ];
};
}