My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/typing-inspect/default.nix

43 lines
864 B

{ lib
, buildPythonPackage
, fetchPypi
, typing-extensions
, mypy-extensions
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "typing-inspect";
version = "0.7.1";
src = fetchPypi {
inherit version;
pname = "typing_inspect";
sha256 = "1al2lyi3r189r5xgw90shbxvd88ic4si9w7n3d9lczxiv6bl0z84";
};
propagatedBuildInputs = [
typing-extensions
mypy-extensions
];
checkInputs = [
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 ];
};
}