diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-19 14:43:42 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-12-19 14:43:42 +0100 |
commit | 20e891ea4275e58328ab3a454a27eb39160ba656 (patch) | |
tree | 4974f3906944637e31b26af4ee1f7113e8279e59 /pkgs/development/python-modules/sqlalchemy-mixins | |
parent | cf66057e81c0327efd905d5f6316124b56eee515 (diff) |
python3Packages.sqlalchemy-mixins: init at 1.5.1
Diffstat (limited to 'pkgs/development/python-modules/sqlalchemy-mixins')
-rw-r--r-- | pkgs/development/python-modules/sqlalchemy-mixins/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sqlalchemy-mixins/default.nix b/pkgs/development/python-modules/sqlalchemy-mixins/default.nix new file mode 100644 index 0000000000000..85a03482a323d --- /dev/null +++ b/pkgs/development/python-modules/sqlalchemy-mixins/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, nose +, pytestCheckHook +, pythonOlder +, six +, sqlalchemy +}: + +buildPythonPackage rec { + pname = "sqlalchemy-mixins"; + version = "1.5.1"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "absent1706"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-HZiv7F0/UatgY3KlILgzywrK5NJE/tDe6B8/smeYwlM="; + }; + + propagatedBuildInputs = [ + six + sqlalchemy + ]; + + checkInputs = [ + nose + pytestCheckHook + ]; + + pythonImportsCheck = [ + "sqlalchemy_mixins" + ]; + + meta = with lib; { + description = "Python mixins for SQLAlchemy ORM"; + homepage = "https://github.com/absent1706/sqlalchemy-mixins"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} |