mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-01 17:49:56 +00:00
30 lines
716 B
Nix
30 lines
716 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "future-typing";
|
|
version = "0.4.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "future_typing";
|
|
inherit version;
|
|
hash = "sha256-Zf3FA0qV2yEnkP7l6Xf7Ci343rYNzPO6wX1tKxqbus0=";
|
|
};
|
|
|
|
doCheck = false; # No tests in pypi source. Did not get tests from GitHub source to work.
|
|
|
|
pythonImportsCheck = [ "future_typing" ];
|
|
|
|
meta = {
|
|
description = "Use generic type hints and new union syntax `|` with python 3.6+";
|
|
mainProgram = "future_typing";
|
|
homepage = "https://github.com/PrettyWood/future-typing";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ kfollesdal ];
|
|
};
|
|
}
|