Fix mypy dependencies
This commit is contained in:
parent
5f14fab320
commit
cf19b5725f
5 changed files with 76 additions and 10 deletions
23
mypy-extensions-0.4.4.nix
Normal file
23
mypy-extensions-0.4.4.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3,
|
||||
}:
|
||||
|
||||
# mypy 0.780 requires mypy-extensions <0.5.0
|
||||
python3.pkgs.buildPythonPackage (finalAttrs: {
|
||||
pname = "mypy-extensions";
|
||||
version = "0.4.4";
|
||||
pyproject = true;
|
||||
build-system = [ python3.pkgs.setuptools ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python";
|
||||
repo = "mypy_extensions";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-eZdEJJA6HOf1iQLV9H9qqETEByCgIH6oy+wwffGJVuQ=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "mypy_extensions" ];
|
||||
meta.license = lib.licenses.mit;
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue