nixpkgs/pkgs/development/python-modules/typing-inspect/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
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
2023-12-07 17:46:49 +01:00

45 lines
892 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, typing-extensions
, mypy-extensions
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "typing-inspect";
version = "0.9.0";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "typing_inspect";
hash = "sha256-sj/EL/b272lU5IUsH7USzdGNvqAxNPkfhWqVzMlGH3g=";
};
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 ];
};
}