pythonPackages.pywinrm: 0.1.1 -> 0.2.2
This commit is contained in:
parent
65587984e4
commit
c5b1a9da4b
32
pkgs/development/python-modules/pywinrm/default.nix
Normal file
32
pkgs/development/python-modules/pywinrm/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, mock
|
||||||
|
, pytest
|
||||||
|
, requests
|
||||||
|
, requests_ntlm
|
||||||
|
, six
|
||||||
|
, xmltodict
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pywinrm";
|
||||||
|
version = "0.2.2";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "06xc0mbqf718vmsp0fq0rb64nql66l5w2x23bmqnzl6nzc0gfc1h";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ mock pytest ];
|
||||||
|
propagatedBuildInputs = [ requests requests_ntlm six xmltodict ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python library for Windows Remote Management";
|
||||||
|
homepage = "http://github.com/diyan/pywinrm/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ elasticdog ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -21092,25 +21092,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pywinrm = buildPythonPackage rec {
|
pywinrm = callPackage ../development/python-modules/pywinrm { };
|
||||||
version = "0.1.1";
|
|
||||||
name = "pywinrm-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "https://github.com/diyan/pywinrm/archive/v${version}.tar.gz";
|
|
||||||
sha256 = "1pc0987f6q5sxcgm50a1k1xz2pk45ny9xxnyapaf60662rcavvfb";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ isodate kerberos xmltodict ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "http://github.com/diyan/pywinrm/";
|
|
||||||
description = "Python library for Windows Remote Management";
|
|
||||||
license = licenses.mit;
|
|
||||||
# error: libgssapi_krb5.so: cannot open shared object file: No such file or directory
|
|
||||||
broken = true; #
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
PyXAPI = stdenv.mkDerivation rec {
|
PyXAPI = stdenv.mkDerivation rec {
|
||||||
name = "PyXAPI-0.1";
|
name = "PyXAPI-0.1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user