infra/shell.nix

24 lines
463 B
Nix
Raw Normal View History

2018-10-02 09:12:23 +03:00
{ pkgs ? import <nixpkgs> {}
, windowsSupport ? false
}:
with pkgs;
let
2018-10-25 11:13:36 +03:00
pytest-bdd = callPackage nix/pytest-bdd {};
proxmoxer = callPackage nix/proxmoxer {};
ansible = callPackage nix/ansible {};
2018-10-02 09:12:23 +03:00
2018-10-25 11:13:36 +03:00
myPython = python27.withPackages (ps: with ps; [ pytest-bdd proxmoxer jmespath virtualenv pip hypothesis pytest_xdist pytest ]);
2018-10-02 09:12:23 +03:00
in
stdenv.mkDerivation {
name = "alt-infra-ansible";
buildInputs = [
openssh
2018-10-25 11:13:36 +03:00
ansible
2018-10-02 09:12:23 +03:00
myPython
pass
];
}