blob: 1adb1c21d046f0cff2953fa5a27edf0e6d3ee91f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pythonOlder,
six,
sqlalchemy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "sqlalchemy-mixins";
version = "2.0.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "absent1706";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-iJrRlV/M0Z1IOdrwWSblefm6wjvdk4/v0am+It8VeWI=";
};
build-system = [ setuptools ];
dependencies = [
six
sqlalchemy
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "sqlalchemy_mixins" ];
meta = with lib; {
description = "Python mixins for SQLAlchemy ORM";
homepage = "https://github.com/absent1706/sqlalchemy-mixins";
changelog = "https://github.com/absent1706/sqlalchemy-mixins/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|