summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sqlalchemy-json/default.nix
blob: 2b35f62a26ca977d188fda5d3319fb5dcc519371 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
  sqlalchemy,
}:

buildPythonPackage rec {
  pname = "sqlalchemy-json";
  version = "0.7.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "edelooff";
    repo = "sqlalchemy-json";
    tag = "v${version}";
    hash = "sha256-Is3DznojvpWYFSDutzCxRLceQMIiS3ZIg0c//MIOF+s=";
  };

  build-system = [ setuptools ];

  dependencies = [ sqlalchemy ];

  pythonImportsCheck = [ "sqlalchemy_json" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Full-featured JSON type with mutation tracking for SQLAlchemy";
    homepage = "https://github.com/edelooff/sqlalchemy-json";
    changelog = "https://github.com/edelooff/sqlalchemy-json/tree/v${version}#changelog";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ augustebaum ];
  };
}