From ba91fc20b894cea713de71a2be31cdb1e1a63bd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Mon, 3 Feb 2025 07:53:04 +0100 Subject: [PATCH] python312Packages.mdformat-tables: fix dependencies https://hydra.nixos.org/build/287351094/log/tail --- .../mdformat-tables/default.nix | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/mdformat-tables/default.nix b/pkgs/development/python-modules/mdformat-tables/default.nix index 62fd33c460f4..c1bf086d863b 100644 --- a/pkgs/development/python-modules/mdformat-tables/default.nix +++ b/pkgs/development/python-modules/mdformat-tables/default.nix @@ -2,10 +2,17 @@ lib, buildPythonPackage, fetchFromGitHub, - flit-core, - mdformat, - pytestCheckHook, pythonOlder, + + # build dependencies + flit-core, + + # dependencies + mdformat, + wcwidth, + + # tests + pytestCheckHook, }: buildPythonPackage rec { @@ -22,9 +29,12 @@ buildPythonPackage rec { hash = "sha256-7MbpGBGprhGrQ9P31HUU2h0bjyHWap6DETVN/dCDA1w="; }; - nativeBuildInputs = [ flit-core ]; + build-system = [ flit-core ]; - propagatedBuildInputs = [ mdformat ]; + dependencies = [ + mdformat + wcwidth + ]; nativeCheckInputs = [ pytestCheckHook ];