2025-04-24 18:31:28 +03:00

43 lines
722 B
Nix

{
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 ];
};
}