python3Packages.mdformat-frontmatter: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt 2023-09-10 00:17:27 +02:00
parent 67d46e48f4
commit aff7cc7d30

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, linkify-it-py
, markdown-it-py
, mdformat
@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "mdformat-frontmatter";
version = "2.0.1";
format = "flit";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -23,6 +24,10 @@ buildPythonPackage rec {
hash = "sha256-PhT5whtvvcYSs5gHQEsIvV1evhx7jR+3DWFMHrF0uMw=";
};
nativeBuildInputs = [
flit-core
];
buildInputs = [
mdformat
mdit-py-plugins