Add copier and deps
This commit is contained in:
+20
-9
@@ -1,8 +1,23 @@
|
||||
self: super:
|
||||
{
|
||||
datadog-api-client = super.callPackage ./datadog-api-client.nix {
|
||||
buildPythonPackage = self.python3.pkgs.buildPythonPackage;
|
||||
fetchPypi = self.python.pkgs.fetchPypi;
|
||||
|
||||
let
|
||||
cp = super.python3.pkgs.callPackage;
|
||||
|
||||
in rec {
|
||||
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 {};
|
||||
pydantic = cp ./pydantic.nix {};
|
||||
pyyaml-include = cp ./pyyaml-include.nix {};
|
||||
xonsh-direnv = cp ./xonsh-direnv.nix {};
|
||||
};
|
||||
|
||||
hms = super.callPackage ./hms.nix {
|
||||
@@ -10,11 +25,7 @@ self: super:
|
||||
};
|
||||
|
||||
xonsh = super.xonsh.overridePythonAttrs (old: rec{
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ self.xonsh-direnv ];
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ my-py-addons.xonsh-direnv ];
|
||||
});
|
||||
|
||||
xonsh-direnv = super.callPackage ./xonsh-direnv.nix {
|
||||
buildPythonPackage = self.python3.pkgs.buildPythonPackage;
|
||||
fetchPypi = self.python.pkgs.fetchPypi;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user