nixpkgs/pkgs/development/python-modules/clldutils/default.nix
Martin Weinelt 8ea6bde88d
treewide: prune pythonOlder 3.10/3.11
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00

63 lines
1.1 KiB
Nix

{
lib,
attrs,
buildPythonPackage,
colorlog,
fetchFromGitHub,
bibtexparser,
git,
lxml,
markdown,
markupsafe,
postgresql,
pylatexenc,
pytest-cov-stub,
pytest-mock,
pytestCheckHook,
python-dateutil,
setuptools,
tabulate,
}:
buildPythonPackage rec {
pname = "clldutils";
version = "3.24.2";
pyproject = true;
src = fetchFromGitHub {
owner = "clld";
repo = "clldutils";
tag = "v${version}";
hash = "sha256-xIs6Lq9iDdcM3j51F27x408oUldvy5nlvVdbrAS5Jz0=";
};
build-system = [ setuptools ];
dependencies = [
attrs
bibtexparser
colorlog
lxml
markdown
markupsafe
pylatexenc
python-dateutil
tabulate
];
nativeCheckInputs = [
postgresql
pytest-cov-stub
pytest-mock
pytestCheckHook
git
];
meta = {
broken = lib.versionOlder bibtexparser.version "2";
changelog = "https://github.com/clld/clldutils/blob/${src.tag}/CHANGES.md";
description = "Utilities for clld apps without the overhead of requiring pyramid, rdflib et al";
homepage = "https://github.com/clld/clldutils";
license = lib.licenses.asl20;
};
}