python3Packages.clldutils: 3.21.0 -> 3.24.2 (#420728)

This commit is contained in:
Aleksana
2025-06-29 17:41:38 +08:00
committed by GitHub
3 changed files with 50 additions and 12 deletions
@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pylatexenc,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "bibtexparser";
version = "2.0.0b8";
pyproject = true;
src = fetchFromGitHub {
owner = "sciunto-org";
repo = "python-bibtexparser";
tag = "v${version}";
hash = "sha256-531Mh/5DUYayXm1H0v4dPX0P9mRcqcQcU/A+f4wwqxg=";
};
build-system = [ setuptools ];
dependencies = [ pylatexenc ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "bibtexparser" ];
meta = {
description = "Bibtex parser for Python";
homepage = "https://github.com/sciunto-org/python-bibtexparser";
changelog = "https://github.com/sciunto-org/python-bibtexparser/blob/${src.tag}/CHANGELOG";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.amadejkastelic ];
};
}
@@ -4,11 +4,11 @@
buildPythonPackage,
colorlog,
fetchFromGitHub,
bibtexparser_2,
git,
lxml,
markdown,
markupsafe,
mock,
postgresql,
pylatexenc,
pytest-cov-stub,
@@ -22,21 +22,21 @@
buildPythonPackage rec {
pname = "clldutils";
version = "3.21.0";
version = "3.24.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "clld";
repo = "clldutils";
rev = "v${version}";
hash = "sha256-OD+WJ9JuYZb/oXDgVqL4i5YlcVEt0+swq0SB3cutyRo=";
tag = "v${version}";
hash = "sha256-xIs6Lq9iDdcM3j51F27x408oUldvy5nlvVdbrAS5Jz0=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
propagatedBuildInputs = [
dependencies = [
attrs
bibtexparser_2
colorlog
lxml
markdown
@@ -47,7 +47,6 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
mock
postgresql
pytest-cov-stub
pytest-mock
@@ -55,11 +54,11 @@ buildPythonPackage rec {
git
];
meta = with lib; {
changelog = "https://github.com/clld/clldutils/blob/${src.rev}/CHANGES.md";
meta = {
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 = licenses.asl20;
maintainers = with maintainers; [ melling ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ melling ];
};
}
+2
View File
@@ -1817,6 +1817,8 @@ self: super: with self; {
bibtexparser = callPackage ../development/python-modules/bibtexparser { };
bibtexparser_2 = callPackage ../development/python-modules/bibtexparser/2.nix { };
bidict = callPackage ../development/python-modules/bidict { };
bids-validator = callPackage ../development/python-modules/bids-validator { };