Advertisement
Guest User

Untitled

a guest
Oct 7th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. with import <nixpkgs> {}; # bring all of Nixpkgs into scope
  2.  
  3. pkgs.pythonPackages.buildPythonPackage rec {
  4. name = "testinfra-${version}";
  5. version = "1.8.0";
  6.  
  7. propagatedBuildInputs = [
  8. python27Packages.pbr
  9. git
  10. ];
  11. src = pkgs.fetchurl {
  12. url = "https://github.com/philpep/testinfra/archive/${version}.tar.gz";
  13. sha256 = "b291244a64b911033d871891c1edfaaad3786a865fc45377a08888bebfc1ca9d";
  14. };
  15.  
  16. meta = {
  17. homepage = "https://github.com/philpep/testinfra";
  18. description = "With Testinfra you can write unit tests in Python to test actual state of your servers configured by management tools like Salt, Ansible, Puppet, Chef and so on.";
  19. license = "Apache";
  20. };
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement