52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
_: prev:
|
|
|
|
let
|
|
myPackages =
|
|
pypackages: with pypackages; [
|
|
black
|
|
dateutil
|
|
ipython
|
|
mypy
|
|
pylint
|
|
pyyaml
|
|
responses
|
|
ruamel-yaml
|
|
tox
|
|
typing-extensions
|
|
virtualenv
|
|
];
|
|
|
|
myPython = prev.python312.withPackages myPackages;
|
|
|
|
in
|
|
rec {
|
|
gregpy = myPython;
|
|
|
|
## Testing adding python packages in the correct manner
|
|
pythonPackagesExtensions = (prev.pythonPackagesExtensions or [ ]) ++ [
|
|
(
|
|
python-final: _:
|
|
let
|
|
cp = python-final.callPackage;
|
|
in
|
|
{
|
|
xonsh-apipenv = cp ./xonsh-apipenv.nix { };
|
|
}
|
|
)
|
|
];
|
|
|
|
# My own packages
|
|
enwiki-dump = prev.callPackage ./enwiki-dump.nix { };
|
|
|
|
# Overrides of packages
|
|
libbluray-custom = prev.libbluray.override {
|
|
withAACS = true;
|
|
withBDplus = true;
|
|
};
|
|
handbrake = prev.handbrake.override { libbluray = libbluray-custom; };
|
|
libvirt-greg = prev.libvirt.overrideAttrs {
|
|
postInstall = prev.libvirt.postInstall + "rm -r $out/lib/systemd/system/libvirtd.service";
|
|
};
|
|
pipenv-ivr = prev.callPackage ./pipenv.nix { };
|
|
}
|