nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 906 B view raw
1{ 2 lib, 3 aiosqlite, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7 six, 8 sqlalchemy, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "sqlalchemy-mixins"; 14 version = "2.1.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "absent1706"; 19 repo = "sqlalchemy-mixins"; 20 tag = "v${version}"; 21 hash = "sha256-0uB3x7RQSNEq3DyTSiOIGajwPQQEBjXK8HOyuXCNa/E="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 six 28 sqlalchemy 29 ]; 30 31 nativeCheckInputs = [ 32 aiosqlite 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "sqlalchemy_mixins" ]; 37 38 meta = { 39 description = "Python mixins for SQLAlchemy ORM"; 40 homepage = "https://github.com/absent1706/sqlalchemy-mixins"; 41 changelog = "https://github.com/absent1706/sqlalchemy-mixins/releases/tag/v${version}"; 42 license = lib.licenses.mit; 43 maintainers = with lib.maintainers; [ fab ]; 44 }; 45}