1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 setuptools,
7 gast,
8}:
9
10buildPythonPackage rec {
11 pname = "py2vega";
12 version = "0.6.1";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "QuantStack";
17 repo = "py2vega";
18 tag = version;
19 hash = "sha256-M6vrObEj4cB53nvEi1oQdVWABlqGwG3xc2unY44Yhuc=";
20 };
21
22 pythonRelaxDeps = [ "gast" ];
23
24 build-system = [
25 setuptools
26 ];
27
28 dependencies = [
29 gast
30 ];
31
32 nativeCheckInputs = [
33 pytestCheckHook
34 ];
35
36 meta = {
37 description = "Python to Vega-expression transpiler";
38 homepage = "https://github.com/QuantStack/py2vega";
39 license = lib.licenses.bsd3;
40 maintainers = with lib.maintainers; [ flokli ];
41 };
42}