treefmt / nix fmt (pull_request) Successful in 4s
build_systems / build-portal-1 (pull_request) Failing after 14m14s
build_systems / build-rhapsody-in-green (pull_request) Canceled after 14m42s
build_systems / build-brain (pull_request) Canceled after 14m46s
build_systems / build-bob (pull_request) Canceled after 14m47s
build_systems / build-jeeves (pull_request) Canceled after 14m46s
test ebook search / test-ebook-search (pull_request) Successful in 36m59s
pytest / pytest (pull_request) Successful in 37m0s
Skip the flaky GnuTLS UDP readiness test and the SciPy FFT tests whose precision differences are acceptable for our workloads.
51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
{ inputs, ... }:
|
|
{
|
|
# When applied, the stable nixpkgs set (declared in the flake inputs) will be accessible through 'pkgs.stable'
|
|
stable = final: _prev: {
|
|
stable = import inputs.nixpkgs-stable {
|
|
system = final.stdenv.hostPlatform.system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
# When applied, the master nixpkgs set (declared in the flake inputs) will be accessible through 'pkgs.master'
|
|
master = final: _prev: {
|
|
master = import inputs.nixpkgs-master {
|
|
system = final.stdenv.hostPlatform.system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
|
|
test-exclusions = import ./test-exclusions.nix;
|
|
|
|
python-env = final: _prev: {
|
|
my_python = final.python314.withPackages (
|
|
ps: with ps; [
|
|
alembic
|
|
apprise
|
|
fastapi
|
|
fastapi-cli
|
|
httpx
|
|
jinja2
|
|
mypy
|
|
pgvector
|
|
psycopg
|
|
pydantic
|
|
pyfakefs
|
|
pytest
|
|
pytest-cov
|
|
pytest-mock
|
|
pytest-xdist
|
|
python-multipart
|
|
pydantic-settings
|
|
ruff
|
|
sqlalchemy
|
|
tenacity
|
|
tinytuya
|
|
typer
|
|
uvicorn
|
|
websockets
|
|
]
|
|
);
|
|
};
|
|
}
|