Martin Joerg e024f6f293 python313Packages.tabledata: refactor, use setuptools-scm
setuptools-scm is required to report the correct package version
2025-02-07 16:42:45 +00:00

40 lines
824 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
setuptools-scm,
dataproperty,
typepy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "tabledata";
version = "1.3.4";
pyproject = true;
src = fetchFromGitHub {
owner = "thombashi";
repo = "tabledata";
tag = "v${version}";
hash = "sha256-kZAEKUOcxb3fK3Oh6+4byJJlB/xzDAEGNpUDEKyVkhs=";
};
build-system = [ setuptools-scm ];
dependencies = [
dataproperty
typepy
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
homepage = "https://github.com/thombashi/tabledata";
description = "Library to represent tabular data";
changelog = "https://github.com/thombashi/tabledata/releases/tag/${src.tag}";
maintainers = with lib.maintainers; [ genericnerdyusername ];
license = lib.licenses.mit;
};
}