pythonPackages.sqlalchemy-json: init at 0.7.0

Co-Authored-By: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
Kerstin Humm 2024-08-15 16:32:15 +02:00 committed by Valentin Gagarin
parent 45cc7f4181
commit e45e3313af
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
sqlalchemy,
}:
let
version = "0.7.0";
in
buildPythonPackage {
pname = "sqlalchemy-json";
inherit version;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "edelooff";
repo = "sqlalchemy-json";
rev = "refs/tags/v${version}";
hash = "sha256-Is3DznojvpWYFSDutzCxRLceQMIiS3ZIg0c//MIOF+s=";
};
propagatedBuildInputs = [ sqlalchemy ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Full-featured JSON type with mutation tracking for SQLAlchemy";
homepage = "https://github.com/edelooff/sqlalchemy-json";
changelog = "https://github.com/edelooff/sqlalchemy-json/tree/v${version}#changelog";
license = licenses.bsd2;
maintainers = with maintainers; [ augustebaum ];
};
}

View File

@ -15154,6 +15154,8 @@ self: super: with self; {
sqlalchemy-i18n = callPackage ../development/python-modules/sqlalchemy-i18n { };
sqlalchemy-json = callPackage ../development/python-modules/sqlalchemy-json { };
sqlalchemy-jsonfield = callPackage ../development/python-modules/sqlalchemy-jsonfield { };
sqlalchemy-mixins = callPackage ../development/python-modules/sqlalchemy-mixins { };