IVR Python updates
This commit is contained in:
+13
-4
@@ -10,6 +10,7 @@ let
|
||||
flake8
|
||||
ipython
|
||||
jedi
|
||||
jedi-language-server
|
||||
mypy
|
||||
pylint
|
||||
pyyaml
|
||||
@@ -48,14 +49,19 @@ let
|
||||
});
|
||||
|
||||
in rec {
|
||||
#python3 = final.unstable.python3;
|
||||
gregpy = myPython;
|
||||
|
||||
## Testing adding python packages in the correct manner
|
||||
pythonPackagesExtensions = (prev.pythonPackagesExtensions or []) ++ [
|
||||
(python-final: python-prev: {
|
||||
django-rapyd-modernauth = python-final.callPackage ./django-rapyd-modernauth.nix {};
|
||||
})
|
||||
];
|
||||
|
||||
my-py-addons = rec {
|
||||
copier = cp ./copier.nix {
|
||||
inherit iteration-utilities
|
||||
jinja2-ansible-filters
|
||||
pydantic
|
||||
pyyaml-include
|
||||
;
|
||||
};
|
||||
@@ -71,8 +77,8 @@ in rec {
|
||||
molecule-podman = cp ./molecule-podman.nix {
|
||||
inherit molecule;
|
||||
};
|
||||
pydantic = cp ./pydantic.nix {};
|
||||
pyyaml-include = cp ./pyyaml-include.nix {};
|
||||
xonsh-apipenv = cp ./xonsh-apipenv.nix {};
|
||||
xonsh-direnv = cp ./xonsh-direnv.nix {};
|
||||
};
|
||||
|
||||
@@ -89,7 +95,10 @@ in rec {
|
||||
|
||||
xonsh = prev.xonsh.overridePythonAttrs (old: rec{
|
||||
python3 = final.gregpy;
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ my-py-addons.xonsh-direnv ];
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [
|
||||
my-py-addons.xonsh-apipenv
|
||||
my-py-addons.xonsh-direnv
|
||||
];
|
||||
});
|
||||
|
||||
bitwarden = macOver ./mac/bitwarden.nix "bitwarden";
|
||||
|
||||
Reference in New Issue
Block a user