nixpkgs/pkgs/development/python-modules/vl-convert-python/default.nix
Anton Mosich 542c43be5d
python3Packages.vl-convert-python: remove maintainer
Upstream has started using LLMs for development, and I do not want to
support this, which includes maintaining this package.
2026-02-18 01:09:14 +01:00

60 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
rustPlatform,
protobuf,
libffi,
callPackage,
librusty_v8 ? callPackage ./librusty_v8.nix { },
nix-update-script,
}:
buildPythonPackage rec {
pname = "vl-convert-python";
version = "1.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "vega";
repo = "vl-convert";
tag = "v${version}";
hash = "sha256-W23cau2VzpvfO6DRa/40UVv4j8AbsNLfAfDaMkTyj6w=";
};
patches = [ ./libffi-sys-system-feature.patch ];
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
hash = "sha256-P228JMS5K0TbZYyPgKhIbZ1NviwO1jHO5dClFYerNbI=";
};
buildAndTestSubdir = "vl-convert-python";
env.RUSTY_V8_ARCHIVE = librusty_v8;
build-system = [
rustPlatform.maturinBuildHook
rustPlatform.cargoSetupHook
];
nativeBuildInputs = [ protobuf ];
buildInputs = [ libffi ];
pythonImportsCheck = [ "vl_convert" ];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"vl-convert-python@(.*)"
];
};
meta = {
description = "Utilities for converting Vega-Lite specs from the command line and Python";
license = lib.licenses.bsd3;
homepage = "https://github.com/vega/vl-convert";
changelog = "https://github.com/vega/vl-convert/releases/tag/v${version}";
maintainers = [ ];
};
}