Unverified Commit eb3575dc authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

lasuite-docs{,-frontend}: 4.4.0 -> 4.8.1, lasuite-docs-frontend: 4.5.0 ->...

lasuite-docs{,-frontend}: 4.4.0 -> 4.8.1, lasuite-docs-frontend: 4.5.0 -> 4.8.1 and dependencies (#501138)
parents ef5999cb 5dddfa41
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -13,20 +13,20 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "lasuite-docs-collaboration-server";
  version = "4.4.0";
  version = "4.8.1";

  src = fetchFromGitHub {
    owner = "suitenumerique";
    repo = "docs";
    tag = "v${finalAttrs.version}";
    hash = "sha256-Cm/Ch7dBKInQYPFGfSlSMLgj8uQR6E3S+6gCFUyvFSU=";
    hash = "sha256-R8DO7hsWt8+aKnHFEoZ06f1f+r8dNmNoPZRVBfr9VCY=";
  };

  sourceRoot = "source/src/frontend";
  sourceRoot = "${finalAttrs.src.name}/src/frontend";

  offlineCache = fetchYarnDeps {
    yarnLock = "${finalAttrs.src}/src/frontend/yarn.lock";
    hash = "sha256-JacPecJvdyATea8o1jQOxY9Gzx4kH+HLqE0eq03dzjg=";
    hash = "sha256-F8VXjGY6Ct2Y8btqOmxZevCkxBvqg6xWZLYTZA2uUnM=";
  };

  nativeBuildInputs = [
+4 −4
Original line number Diff line number Diff line
@@ -12,20 +12,20 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "lasuite-docs-frontend";
  version = "4.4.0";
  version = "4.8.1";

  src = fetchFromGitHub {
    owner = "suitenumerique";
    repo = "docs";
    tag = "v${finalAttrs.version}";
    hash = "sha256-Cm/Ch7dBKInQYPFGfSlSMLgj8uQR6E3S+6gCFUyvFSU=";
    hash = "sha256-R8DO7hsWt8+aKnHFEoZ06f1f+r8dNmNoPZRVBfr9VCY=";
  };

  sourceRoot = "source/src/frontend";
  sourceRoot = "${finalAttrs.src.name}/src/frontend";

  offlineCache = fetchYarnDeps {
    yarnLock = "${finalAttrs.src}/src/frontend/yarn.lock";
    hash = "sha256-JacPecJvdyATea8o1jQOxY9Gzx4kH+HLqE0eq03dzjg=";
    hash = "sha256-F8VXjGY6Ct2Y8btqOmxZevCkxBvqg6xWZLYTZA2uUnM=";
  };

  nativeBuildInputs = [
+6 −4
Original line number Diff line number Diff line
@@ -11,12 +11,12 @@
  yarnConfigHook,
}:
let
  version = "4.5.0";
  version = "4.8.1";
  src = fetchFromGitHub {
    owner = "suitenumerique";
    repo = "docs";
    tag = "v${version}";
    hash = "sha256-/mI11ldbYa051WA2hkV7fnc8CJOb0jHra0FJ+eVCqVs=";
    hash = "sha256-R8DO7hsWt8+aKnHFEoZ06f1f+r8dNmNoPZRVBfr9VCY=";
  };

  mail-templates = stdenv.mkDerivation {
@@ -29,7 +29,7 @@ let

    offlineCache = fetchYarnDeps {
      yarnLock = "${src}/src/mail/yarn.lock";
      hash = "sha256-g71OGg0PAo60h0bC+oOyvLvPOCg0pYXuYD8vsR5X9/k=";
      hash = "sha256-ag9+g48dWl5Ww/78qqgtcKwiyPVlpNiJ7w7+DPaar2U=";
    };

    nativeBuildInputs = [
@@ -47,7 +47,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
  pyproject = true;
  inherit version src;

  sourceRoot = "source/src/backend";
  sourceRoot = "${finalAttrs.src.name}/src/backend";

  patches = [
    # Support configuration throught environment variables for SECURE_*
@@ -104,12 +104,14 @@ python3Packages.buildPythonApplication (finalAttrs: {
      openai
      psycopg
      pycrdt
      pydantic-ai-slim
      pyjwt
      pyopenssl
      python-magic
      redis
      requests
      sentry-sdk
      uvicorn
      whitenoise
    ]
    ++ celery.optional-dependencies.redis
+49 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  uv-build,

  # dependencies
  httpx,
  pydantic,
}:

buildPythonPackage (finalAttrs: {
  pname = "genai-prices";
  version = "0.0.55";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pydantic";
    repo = "genai-prices";
    tag = "v${finalAttrs.version}";
    hash = "sha256-FxHBVroKC9tgYJ+a429cnv7UVWMBoeTX+BEah7eD9Us=";
  };

  sourceRoot = "${finalAttrs.src.name}/packages/python";

  build-system = [
    uv-build
  ];

  dependencies = [
    httpx
    pydantic
  ];

  pythonImportsCheck = [
    "genai_prices"
  ];

  doCheck = false; # no tests

  meta = {
    description = "Calculate prices for calling LLM inference APIs";
    homepage = "https://github.com/pydantic/genai-prices";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ hexa ];
  };
})
+53 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  hatchling,
  pdm-backend,
  uv-dynamic-versioning,

  # optional-dependencies
  pip,
  platformdirs,
  wheel,
}:

buildPythonPackage (finalAttrs: {
  pname = "griffelib";
  version = "2.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "mkdocstrings";
    repo = "griffe";
    tag = finalAttrs.version;
    hash = "sha256-SiUkgkaHtq2aWraL5BJvItOExTGUQ+e6pQVXEwTM0mk=";
  };

  sourceRoot = "${finalAttrs.src.name}/packages/griffelib";

  build-system = [
    hatchling
    pdm-backend
    uv-dynamic-versioning
  ];

  optional-dependencies.pypi = [
    pip
    platformdirs
    wheel
  ];

  pythonImportsCheck = [
    "griffe"
  ];

  meta = {
    description = "Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API";
    homepage = "https://github.com/mkdocstrings/griffe";
    license = lib.licenses.isc;
    maintainers = with lib.maintainers; [ hexa ];
  };
})
Loading