dream2nix/modules/drvs/ansible/default.nix

30 lines
409 B
Nix
Raw Normal View History

{
config,
lib,
...
}: let
2023-02-17 09:09:39 +03:00
l = lib // builtins;
in {
imports = [
2023-04-05 15:45:36 +03:00
../../drv-parts/pip
2023-02-17 09:09:39 +03:00
];
deps = {nixpkgs, ...}: {
python = nixpkgs.python39;
};
name = "ansible";
version = "2.7.1";
buildPythonPackage = {
pythonImportsCheck = [
config.name
];
};
2023-02-17 09:09:39 +03:00
2023-04-05 15:45:36 +03:00
pip = {
pypiSnapshotDate = "2023-01-01";
requirementsList = ["${config.name}==${config.version}"];
2023-02-17 09:09:39 +03:00
};
}