1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 sqlalchemy,
7 requests,
8 python-dateutil,
9 tqdm,
10 pytestCheckHook,
11}:
12
13buildPythonPackage rec {
14 pname = "idbutils";
15 version = "1.0.1";
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "tcgoetz";
20 repo = "utilities";
21 tag = version;
22 hash = "sha256-niscY7sURrJ7YcPKbI6ByU03po6Hfxm0gHbvmDa6TgM=";
23 };
24
25 build-system = [
26 setuptools
27 ];
28
29 dependencies = [
30 sqlalchemy
31 requests
32 python-dateutil
33 tqdm
34 ];
35
36 nativeCheckInputs = [ pytestCheckHook ];
37
38 pythonImportsCheck = [ "idbutils" ];
39
40 meta = {
41 description = "Python utilities useful for database and internal apps";
42 license = lib.licenses.gpl2Only;
43 homepage = "https://github.com/tcgoetz/utilities";
44 maintainers = with lib.maintainers; [ ethancedwards8 ];
45 };
46}