Files
nixpkgs/pkgs/development/python-modules/mpl-typst/default.nix
T
Martin Weinelt 724db90d26 python3Packages.mpl-typst: 0.1.0 -> 0.2.1
https://github.com/daskol/mpl-typst/releases/tag/v0.2.1

This commit was automatically generated using update-python-libraries.
2025-08-09 19:01:50 +02:00

54 lines
962 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
matplotlib,
numpy,
pytestCheckHook,
pillow,
nix-update-script,
}:
buildPythonPackage rec {
pname = "mpl-typst";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "daskol";
repo = "mpl-typst";
tag = "v${version}";
hash = "sha256-lkO4BTo3duNAsppTjteeBuzgSJL/UnKVW2QXgrfVrqM=";
};
build-system = [
setuptools
];
dependencies = [
matplotlib
];
nativeCheckInputs = [
pytestCheckHook
pillow
numpy
];
pythonImportsCheck = [
"mpl_typst"
"mpl_typst.as_default"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Typst backend for matplotlib";
homepage = "https://github.com/daskol/mpl-typst";
changelog = "https://github.com/daskol/mpl-typst/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ genga898 ];
};
}