summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/py2vega/default.nix
blob: a4160ef62934019ca0f66e194249becccce33e3d (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
38
39
40
41
42
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
  gast,
}:

buildPythonPackage rec {
  pname = "py2vega";
  version = "0.6.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "QuantStack";
    repo = "py2vega";
    tag = version;
    hash = "sha256-M6vrObEj4cB53nvEi1oQdVWABlqGwG3xc2unY44Yhuc=";
  };

  pythonRelaxDeps = [ "gast" ];

  build-system = [
    setuptools
  ];

  dependencies = [
    gast
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    description = "Python to Vega-expression transpiler";
    homepage = "https://github.com/QuantStack/py2vega";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ flokli ];
  };
}