Patch up my new structure to support Macs as well Add Firefox for Mac overlay Combine Python version definitions Toy around with Vim settings
63 lines
1.3 KiB
Nix
63 lines
1.3 KiB
Nix
self: super:
|
|
|
|
let
|
|
cp = super.python3.pkgs.callPackage;
|
|
|
|
myPackages = pypackages: with pypackages; with pkgs.my-py-addons; [
|
|
black
|
|
copier
|
|
datadog
|
|
datadog-api-client
|
|
dateutil
|
|
flake8
|
|
ipython
|
|
pyyaml
|
|
responses
|
|
ruamel-yaml
|
|
tox
|
|
typing-extensions
|
|
virtualenv
|
|
xonsh-direnv
|
|
];
|
|
|
|
myPython = super.python3.withPackages myPackages;
|
|
|
|
in rec {
|
|
gregpy = myPython;
|
|
|
|
my-py-addons = rec {
|
|
copier = cp ./copier.nix {
|
|
inherit iteration-utilities
|
|
jinja2-ansible-filters
|
|
pydantic
|
|
pyyaml-include
|
|
;
|
|
};
|
|
datadog-api-client = cp ./datadog-api-client.nix {};
|
|
iteration-utilities = cp ./iteration-utilities.nix {};
|
|
jinja2-ansible-filters = cp ./jinja2-ansible-filters.nix {};
|
|
molecule = cp ./molecule.nix {};
|
|
molecule-containers = cp ./molecule-containers.nix {
|
|
inherit molecule molecule-docker molecule-podman;
|
|
};
|
|
molecule-docker = cp ./molecule-docker.nix {
|
|
inherit molecule;
|
|
};
|
|
molecule-podman = cp ./molecule-podman.nix {
|
|
inherit molecule;
|
|
};
|
|
pydantic = cp ./pydantic.nix {};
|
|
pyyaml-include = cp ./pyyaml-include.nix {};
|
|
xonsh-direnv = cp ./xonsh-direnv.nix {};
|
|
};
|
|
|
|
hms = super.callPackage ./hms.nix {
|
|
pkgs = self.pkgs;
|
|
};
|
|
|
|
xonsh = super.xonsh.overridePythonAttrs (old: rec{
|
|
propagatedBuildInputs = old.propagatedBuildInputs ++ [ my-py-addons.xonsh-direnv ];
|
|
});
|
|
|
|
}
|