python3Packages.sqlalchemy-jsonfield: init at 1.0.0
This commit is contained in:
parent
f29159e2e8
commit
f41d6886ee
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, sqlalchemy
|
||||
, setuptools-scm
|
||||
, setuptools
|
||||
, tox
|
||||
, sphinx
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, pytest-html
|
||||
, pytest-sugar
|
||||
, coverage
|
||||
, pymysql
|
||||
, psycopg2 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlalchemy-jsonfield";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "penguinolog";
|
||||
repo = "sqlalchemy_jsonfield";
|
||||
rev = version;
|
||||
sha256 = "015pl4z84spfw8389hk1szlm37jgw2basvbmzmkacdqi0685zx24";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = "v${version}";
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ sqlalchemy setuptools ];
|
||||
checkInputs = [ tox sphinx pytest pytest-cov pytest-html pytest-sugar coverage pymysql psycopg2 ];
|
||||
|
||||
checkPhase = ''
|
||||
TOX_TESTENV_PASSENV="PYTHONPATH SETUPTOOLS_SCM_PRETEND_VERSION" tox -e functional
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/penguinolog/sqlalchemy_jsonfield";
|
||||
description = "SQLALchemy JSONField implementation for storing dicts at SQL independently from JSON type support";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.ivan-tkatchev ];
|
||||
};
|
||||
}
|
|
@ -8238,6 +8238,8 @@ in {
|
|||
|
||||
SQLAlchemy-ImageAttach = callPackage ../development/python-modules/sqlalchemy-imageattach { };
|
||||
|
||||
sqlalchemy-jsonfield = callPackage ../development/python-modules/sqlalchemy-jsonfield { };
|
||||
|
||||
sqlalchemy_migrate = callPackage ../development/python-modules/sqlalchemy-migrate { };
|
||||
|
||||
sqlalchemy-utils = callPackage ../development/python-modules/sqlalchemy-utils { };
|
||||
|
|
Loading…
Reference in a new issue