2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
nose,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
six,
|
|
|
|
sqlalchemy,
|
2021-12-21 02:18:32 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sqlalchemy-mixins";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.0.5";
|
2021-12-21 02:18:32 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "absent1706";
|
|
|
|
repo = pname;
|
2022-04-27 09:35:20 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-iJrRlV/M0Z1IOdrwWSblefm6wjvdk4/v0am+It8VeWI=";
|
2021-12-21 02:18:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
sqlalchemy
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-12-21 02:18:32 +00:00
|
|
|
nose
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "sqlalchemy_mixins" ];
|
2021-12-21 02:18:32 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python mixins for SQLAlchemy ORM";
|
|
|
|
homepage = "https://github.com/absent1706/sqlalchemy-mixins";
|
2023-04-12 12:48:02 +00:00
|
|
|
changelog = "https://github.com/absent1706/sqlalchemy-mixins/releases/tag/v${version}";
|
2021-12-21 02:18:32 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|