python3Packages.schema-salad: 8.9.20251102115403 -> 8.9.20260327095315

This commit is contained in:
Fabian Affolter
2026-04-06 18:33:15 +02:00
parent 5a9ca0e076
commit c7eea98549
@@ -5,11 +5,12 @@
cachecontrol,
fetchFromGitHub,
mistune,
mypy,
mypy-extensions,
mypy,
pytestCheckHook,
rdflib,
requests,
rich-argparse,
ruamel-yaml,
setuptools-scm,
types-dataclasses,
@@ -19,24 +20,24 @@
buildPythonPackage rec {
pname = "schema-salad";
version = "8.9.20251102115403";
version = "8.9.20260327095315";
pyproject = true;
src = fetchFromGitHub {
owner = "common-workflow-language";
repo = "schema_salad";
tag = version;
hash = "sha256-3axwM3fSxDIG1P0CvcqzqwpdDkhg/5pY7AmjUpU3mEk=";
hash = "sha256-j3jevOMsNHT9+HI/8MD4MUwj+IHUisKMs/OA5wpweao=";
};
pythonRelaxDeps = [ "mistune" ];
postPatch = ''
substituteInPlace setup.py \
--replace-fail 'pytest_runner + ["setuptools_scm>=8.0.4,<9"]' '["setuptools_scm"]'
--replace-fail 'pytest_runner + ["setuptools_scm>=8.0.4,<11"]' '["setuptools_scm"]'
substituteInPlace pyproject.toml \
--replace-fail '"setuptools_scm[toml]>=8.0.4,<9"' '"setuptools_scm[toml]"' \
--replace-fail "mypy[mypyc]==1.17.0" "mypy"
--replace-fail '"setuptools_scm[toml]>=8.0.4,<11"' '"setuptools_scm[toml]"' \
--replace-fail "mypy[mypyc]==1.19.1" "mypy"
sed -i "/black>=/d" pyproject.toml
'';
@@ -49,6 +50,7 @@ buildPythonPackage rec {
mypy-extensions
rdflib
requests
rich-argparse
ruamel-yaml
types-dataclasses
types-requests
@@ -83,7 +85,7 @@ buildPythonPackage rec {
description = "Semantic Annotations for Linked Avro Data";
homepage = "https://github.com/common-workflow-language/schema_salad";
changelog = "https://github.com/common-workflow-language/schema_salad/releases/tag/${src.tag}";
license = with lib.licenses; [ asl20 ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ veprbl ];
};
}