mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
44 lines
869 B
Nix
44 lines
869 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, typing-extensions
|
|
, mypy-extensions
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "typing-inspect";
|
|
version = "0.8.0";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "typing_inspect";
|
|
sha256 = "sha256-ix/wxACUO2FF34EZxBwkTKggfx8QycBXru0VYOSAbj0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
typing-extensions
|
|
mypy-extensions
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTests = [
|
|
# https://github.com/ilevkivskyi/typing_inspect/issues/84
|
|
"test_typed_dict_typing_extension"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"typing_inspect"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Runtime inspection utilities for Python typing module";
|
|
homepage = "https://github.com/ilevkivskyi/typing_inspect";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ albakham ];
|
|
};
|
|
}
|