{ lib , buildPythonPackage , fetchFromGitHub , in-n-out , psygnal , pydantic , pytestCheckHook , pythonOlder , typing-extensions , hatch-vcs , hatchling }: buildPythonPackage rec { pname = "app-model"; version = "0.2.0"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "pyapp-kit"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-4I0lDL6B+8f/lj09zT14lvbGATuHIfjKwwABXi6OIvE="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; nativeBuildInputs = [ hatch-vcs hatchling ]; propagatedBuildInputs = [ psygnal pydantic in-n-out typing-extensions ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "app_model" ]; meta = with lib; { description = "Module to implement generic application schema"; homepage = "https://github.com/pyapp-kit/app-model"; changelog = "https://github.com/pyapp-kit/app-model/blob/v${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; }; }