mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 02:46:28 +00:00
49b967c7dd
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-mypy/versions
27 lines
657 B
Nix
27 lines
657 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, lxml, typed-ast, psutil, isPy3k
|
|
,mypy_extensions }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mypy";
|
|
version = "0.650";
|
|
|
|
# Tests not included in pip package.
|
|
doCheck = false;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1ypa7zl14rjd2pnk5zll6yhfz6jfrrdib3dgq3f1f6586pwbbm9q";
|
|
};
|
|
|
|
disabled = !isPy3k;
|
|
|
|
propagatedBuildInputs = [ lxml typed-ast psutil mypy_extensions ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Optional static typing for Python";
|
|
homepage = "http://www.mypy-lang.org";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ martingms lnl7 ];
|
|
};
|
|
}
|