Merge #2711: add ansible-1.6.1

Conflicts (trivial):
lib/maintainers.nix

+41 -2
+1
lib/maintainers.nix
··· 46 46 iElectric = "Domen Kozar <domen@dev.si>"; 47 47 iyzsong = "Song Wenwu <iyzsong@gmail.com>"; 48 48 jcumming = "Jack Cummings <jack@mudshark.org>"; 49 + joamaki = "Jussi Maki <joamaki@gmail.com>"; 49 50 joelteon = "Joel Taylor <me@joelt.io>"; 50 51 jwiegley = "John Wiegley <johnw@newartisans.com>"; 51 52 kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
+1 -2
pkgs/development/python-modules/generic/default.nix
··· 135 135 runHook postInstall 136 136 ''; 137 137 138 - postFixup = 139 - '' 138 + postFixup = attrs.postFixup or '' 140 139 wrapPythonPrograms 141 140 142 141 # If a user installs a Python package, they probably also wants its
+37
pkgs/tools/system/ansible/default.nix
··· 1 + { stdenv, fetchurl, pythonPackages, python }: 2 + 3 + pythonPackages.buildPythonPackage rec { 4 + version = "1.6.1"; 5 + name = "ansible-${version}"; 6 + namePrefix = ""; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/ansible/ansible/archive/v${version}.tar.gz"; 10 + sha256 = "1iz1q2h0zll4qsxk0pndc59knasw663kv53sm21q57qz7lf30q9z"; 11 + }; 12 + 13 + prePatch = '' 14 + sed -i "s,\/usr\/share\/ansible\/,$out/share/ansible," lib/ansible/constants.py 15 + ''; 16 + 17 + doCheck = false; 18 + dontStrip = true; 19 + dontPatchELF = true; 20 + dontPatchShebangs = true; 21 + 22 + propagatedBuildInputs = with pythonPackages; [ 23 + paramiko jinja2 pyyaml httplib2 boto 24 + ]; 25 + 26 + postFixup = '' 27 + wrapPythonProgramsIn $out/bin "$out $pythonPath" 28 + ''; 29 + 30 + meta = with stdenv.lib; { 31 + homepage = "http://www.ansible.com"; 32 + description = "A simple automation tool"; 33 + license = licenses.gpl3; 34 + maintainers = [ maintainers.joamaki ]; 35 + platforms = platforms.linux; # Only tested on Linux 36 + }; 37 + }
+2
pkgs/top-level/all-packages.nix
··· 3672 3672 3673 3673 ### DEVELOPMENT / TOOLS 3674 3674 3675 + ansible = callPackage ../tools/system/ansible { }; 3676 + 3675 3677 antlr = callPackage ../development/tools/parsing/antlr/2.7.7.nix { }; 3676 3678 3677 3679 antlr3 = callPackage ../development/tools/parsing/antlr { };