2023-03-12 18:27:22 +03:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2023-03-19 10:46:59 +03:00
|
|
|
name = "ansible";
|
|
|
|
version = "2.7.1";
|
2023-03-04 09:59:12 +03:00
|
|
|
|
2023-03-04 11:08:11 +03:00
|
|
|
buildPythonPackage = {
|
2023-03-04 09:59:12 +03:00
|
|
|
pythonImportsCheck = [
|
2023-03-19 10:46:59 +03:00
|
|
|
config.name
|
2023-03-04 09:59:12 +03:00
|
|
|
];
|
|
|
|
};
|
2023-02-17 09:09:39 +03:00
|
|
|
|
2023-04-05 15:45:36 +03:00
|
|
|
pip = {
|
2023-03-24 07:13:29 +03:00
|
|
|
pypiSnapshotDate = "2023-01-01";
|
2023-03-23 12:20:28 +03:00
|
|
|
requirementsList = ["${config.name}==${config.version}"];
|
2023-02-17 09:09:39 +03:00
|
|
|
};
|
|
|
|
}
|