ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / transip / default.nix
blobff37464a0f34ec11976057ace770efe1b5b5ce14
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , cryptography
6 , suds-jurko
7 , pytestCheckHook
8 , pythonOlder
9 }:
11 buildPythonPackage rec {
12   pname = "transip";
13   version = "2.0.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.5";
18   src = fetchFromGitHub {
19     owner = "benkonrath";
20     repo = "transip-api";
21     rev = "v${version}";
22     hash = "sha256-J/zcDapry8pm1zozzCDzrQED7vvCR6yoE4NcduBFfZQ=";
23   };
25   propagatedBuildInputs = [
26     requests
27     cryptography
28     suds-jurko
29   ];
31   checkInputs = [
32     pytestCheckHook
33   ];
35   disabledTests = [
36     # Constructor tests require network access
37     "test_constructor"
38     "testConstructor"
39   ];
41   pythonImportsCheck = [
42     "transip"
43   ];
45   meta = with lib; {
46     description = "TransIP API Connector";
47     homepage = "https://github.com/benkonrath/transip-api";
48     license = licenses.mit;
49     maintainers = with maintainers; [ flyfloh ];
50   };