mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
30 lines
731 B
Nix
30 lines
731 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "future-typing";
|
|
version = "0.4.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "future_typing";
|
|
inherit version;
|
|
sha256 = "65fdc5034a95db212790fee5e977fb0a2df8deb60dccf3bac17d6d2b1a9bbacd";
|
|
};
|
|
|
|
doCheck = false; # No tests in pypi source. Did not get tests from GitHub source to work.
|
|
|
|
pythonImportsCheck = [ "future_typing" ];
|
|
|
|
meta = with lib; {
|
|
description = "Use generic type hints and new union syntax `|` with python 3.6+";
|
|
homepage = "https://github.com/PrettyWood/future-typing";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kfollesdal ];
|
|
};
|
|
}
|