mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
61 lines
1.3 KiB
Nix
61 lines
1.3 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;
|
|
};
|
|
};
|
|
|
|
python-env = final: _prev: {
|
|
my_python = final.python314.withPackages (
|
|
ps: with ps; [
|
|
alembic
|
|
apprise
|
|
apscheduler
|
|
fastapi
|
|
fastapi-cli
|
|
httpx
|
|
mypy
|
|
polars
|
|
psycopg
|
|
pydantic
|
|
pyfakefs
|
|
pytest
|
|
pytest-cov
|
|
pytest-mock
|
|
pytest-xdist
|
|
requests
|
|
ruff
|
|
scalene
|
|
sqlalchemy
|
|
sqlalchemy
|
|
textual
|
|
tinytuya
|
|
typer
|
|
types-requests
|
|
]
|
|
);
|
|
};
|
|
ds-env = final: _prev: {
|
|
ds_python = final.python311.withPackages (
|
|
ps: with ps; [
|
|
faster-whisper
|
|
polars
|
|
psycopg
|
|
pyannote-pipeline
|
|
pydantic
|
|
]
|
|
);
|
|
};
|
|
|
|
}
|