From 6442a6f847d63ecb55f094e30f9d541779c860df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 19 Oct 2025 16:37:23 -0700 Subject: [PATCH 1/2] python3Packages.mdformat-footnote: fix hash --- pkgs/development/python-modules/mdformat-footnote/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mdformat-footnote/default.nix b/pkgs/development/python-modules/mdformat-footnote/default.nix index 2c153dc363d8..8a0c4be8d44c 100644 --- a/pkgs/development/python-modules/mdformat-footnote/default.nix +++ b/pkgs/development/python-modules/mdformat-footnote/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "executablebooks"; repo = "mdformat-footnote"; tag = "v${version}"; - hash = "sha256-JVxztVcp60LynacPw8tBrmSfe6Ool8zyK+aYwaKhyiA="; + hash = "sha256-QiekcxKfJGWog8rfSL6VIDHdo7rpw8ftl/dDJpVpdUg="; }; nativeBuildInputs = [ flit-core ]; From ab9afce16151af9de8351cd71623c8e0d012171c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 19 Oct 2025 16:38:56 -0700 Subject: [PATCH 2/2] python3Packages.mdformat-footnote: modernize --- .../python-modules/mdformat-footnote/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/mdformat-footnote/default.nix b/pkgs/development/python-modules/mdformat-footnote/default.nix index 8a0c4be8d44c..761d5575af85 100644 --- a/pkgs/development/python-modules/mdformat-footnote/default.nix +++ b/pkgs/development/python-modules/mdformat-footnote/default.nix @@ -19,20 +19,20 @@ buildPythonPackage rec { hash = "sha256-QiekcxKfJGWog8rfSL6VIDHdo7rpw8ftl/dDJpVpdUg="; }; - nativeBuildInputs = [ flit-core ]; + build-system = [ flit-core ]; - propagatedBuildInputs = [ + dependencies = [ mdformat mdit-py-plugins ]; pythonImportsCheck = [ "mdformat_footnote" ]; - meta = with lib; { + meta = { description = "Footnote format addition for mdformat"; homepage = "https://github.com/executablebooks/mdformat-footnote"; changelog = "https://github.com/executablebooks/mdformat-footnote/releases/tag/${src.tag}"; - license = licenses.mit; - maintainers = with maintainers; [ aldoborrero ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ aldoborrero ]; }; }