default.nix (834B)
1 { 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5 }: 6 7 python3Packages.buildPythonPackage (finalAttrs: { 8 pname = "zope-sqlalchemy"; 9 version = "4.1"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "zopefoundation"; 14 repo = "zope.sqlalchemy"; 15 tag = finalAttrs.version; 16 hash = "sha256-E8Z1ljtF66K7XVfIU9pmXVYduzMOGaemNWmN1ysSm1w="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 sqlalchemy 23 transaction 24 zope-interface 25 ]; 26 27 pythonImportsCheck = [ "zope.sqlalchemy" ]; 28 29 pythonNamespaces = [ "zope" ]; 30 31 meta = { 32 description = "Integration of SQLAlchemy with transaction management"; 33 homepage = "https://github.com/zopefoundation/zope.sqlalchemy"; 34 license = lib.licenses.zpl21; 35 maintainers = [ lib.maintainers.sikmir ]; 36 }; 37 })
