git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #8349 from berdario/ansible-win
ff3972blethalman
pkgs/tools/system/ansible/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pythonPackages, python }:
1+{ windowsSupport ? true, stdenv, fetchurl, pythonPackages, python }:
2
2
3pythonPackages.buildPythonPackage rec {
3pythonPackages.buildPythonPackage rec {
4 version = "1.9.1";
4 version = "1.9.1";
@@ -21,7 +21,7 @@ pythonPackages.buildPythonPackage rec {
21
21
22 propagatedBuildInputs = with pythonPackages; [
22 propagatedBuildInputs = with pythonPackages; [
23 paramiko jinja2 pyyaml httplib2 boto six
23 paramiko jinja2 pyyaml httplib2 boto six
24− ];
24+ ] ++ stdenv.lib.optional windowsSupport pywinrm;
25
25
26 postFixup = ''
26 postFixup = ''
27 wrapPythonProgramsIn $out/bin "$out $pythonPath"
27 wrapPythonProgramsIn $out/bin "$out $pythonPath"
pkgs/top-level/python-packages.nix+35
@@ -10594,6 +10594,24 @@ let
10594 };
10594 };
10595 };
10595 };
10596
10596
10597+ pywinrm = buildPythonPackage (rec {
10598+ name = "pywinrm";
10599+
10600+ src = pkgs.fetchgit {
10601+ url = https://github.com/diyan/pywinrm.git;
10602+ rev = "c9ce62d500007561ab31a8d0a5d417e779fb69d9";
10603+ sha256 = "0n0qlcgin2g5lpby07qbdlnpq5v2qc2yns9zc4zm5prwh2mhs5za";
10604+ };
10605+
10606+ propagatedBuildInputs = with self; [ xmltodict isodate ];
10607+
10608+ meta = {
10609+ homepage = "http://github.com/diyan/pywinrm/";
10610+ description = "Python library for Windows Remote Management";
10611+ license = licenses.mit;
10612+ };
10613+ });
10614+
10597
10615
10598 pyxattr = buildPythonPackage (rec {
10616 pyxattr = buildPythonPackage (rec {
10599 name = "pyxattr-0.5.1";
10617 name = "pyxattr-0.5.1";
@@ -13537,6 +13555,23 @@ let
13537 };
13555 };
13538 });
13556 });
13539
13557
13558+ xmltodict = buildPythonPackage (rec {
13559+ name = "xmltodict-0.9.2";
13560+
13561+ src = pkgs.fetchurl {
13562+ url = "http://pypi.python.org/packages/source/x/xmltodict/${name}.tar.gz";
13563+ sha256 = "00crqnjh1kbvcgfnn3b8c7vq30lf4ykkxp1xf3pf7mswr5l1wp97";
13564+ };
13565+
13566+ buildInputs = with self; [ coverage nose ];
13567+
13568+ meta = {
13569+ description = "Makes working with XML feel like you are working with JSON";
13570+ homepage = https://github.com/martinblech/xmltodict;
13571+ license = licenses.mit;
13572+ };
13573+ });
13574+
13540 youtube-dl = callPackage ../tools/misc/youtube-dl {
13575 youtube-dl = callPackage ../tools/misc/youtube-dl {
13541 # Release versions don't need pandoc because the formatted man page
13576 # Release versions don't need pandoc because the formatted man page
13542 # is included in the tarball.
13577 # is included in the tarball.