mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 14:31:55 +03:00
30 lines
409 B
Nix
30 lines
409 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
l = lib // builtins;
|
|
in {
|
|
imports = [
|
|
../../drv-parts/pip
|
|
];
|
|
|
|
deps = {nixpkgs, ...}: {
|
|
python = nixpkgs.python39;
|
|
};
|
|
|
|
name = "ansible";
|
|
version = "2.7.1";
|
|
|
|
buildPythonPackage = {
|
|
pythonImportsCheck = [
|
|
config.name
|
|
];
|
|
};
|
|
|
|
pip = {
|
|
pypiSnapshotDate = "2023-01-01";
|
|
requirementsList = ["${config.name}==${config.version}"];
|
|
};
|
|
}
|