1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 multiprocess, 6 pandas-stubs, 7 pandas, 8 poetry-core, 9 pydantic, 10 pytestCheckHook, 11 pythonOlder, 12}: 13 14buildPythonPackage rec { 15 pname = "pandantic"; 16 version = "1.0.1"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.10"; 20 21 src = fetchFromGitHub { 22 owner = "wesselhuising"; 23 repo = "pandantic"; 24 tag = version; 25 hash = "sha256-lqd4aQiBMbATFMdftKQeTlqQ3MGrxm2shb7qil+84iA="; 26 }; 27 28 build-system = [ poetry-core ]; 29 30 dependencies = [ 31 multiprocess 32 pandas 33 pandas-stubs 34 pydantic 35 ]; 36 37 nativeCheckInputs = [ pytestCheckHook ]; 38 39 pythonImportsCheck = [ "pandantic" ]; 40 41 meta = { 42 description = "Module to enriche the Pydantic BaseModel class"; 43 homepage = "https://github.com/wesselhuising/pandantic"; 44 changelog = "https://github.com/wesselhuising/pandantic/releases/tag/${src.tag}"; 45 license = lib.licenses.mit; 46 maintainers = with lib.maintainers; [ fab ]; 47 }; 48}