csv2md: use finalAttrs

This commit is contained in:
Sigmanificient
2026-05-20 22:08:48 +02:00
parent 6f98f170ab
commit ad4fa542e8
@@ -5,7 +5,7 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "csv2md";
version = "1.6.0";
pyproject = true;
@@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "lzakharov";
repo = "csv2md";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-51MCeM/zfjYMhB8Ryt1RMevEwszAzgYrJsyViEIOYVY=";
};
@@ -24,9 +24,9 @@ buildPythonPackage rec {
meta = {
description = "Command line tool for converting CSV files into Markdown tables";
homepage = "https://github.com/lzakharov/csv2md";
changelog = "https://github.com/lzakharov/csv2md/releases/tag/v${version}";
changelog = "https://github.com/lzakharov/csv2md/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ t4ccer ];
mainProgram = "csv2md";
};
}
})