1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7 sqlalchemy, 8}: 9 10buildPythonPackage rec { 11 pname = "sqlalchemy-json"; 12 version = "0.7.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "edelooff"; 17 repo = "sqlalchemy-json"; 18 tag = "v${version}"; 19 hash = "sha256-Is3DznojvpWYFSDutzCxRLceQMIiS3ZIg0c//MIOF+s="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ sqlalchemy ]; 25 26 pythonImportsCheck = [ "sqlalchemy_json" ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 meta = { 31 description = "Full-featured JSON type with mutation tracking for SQLAlchemy"; 32 homepage = "https://github.com/edelooff/sqlalchemy-json"; 33 changelog = "https://github.com/edelooff/sqlalchemy-json/tree/v${version}#changelog"; 34 license = lib.licenses.bsd2; 35 maintainers = with lib.maintainers; [ augustebaum ]; 36 }; 37}