Commit c7eea985 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python3Packages.schema-salad: 8.9.20251102115403 -> 8.9.20260327095315

parent 5a9ca0e0
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -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 ];
  };
}