blob: ff37464a0f34ec11976057ace770efe1b5b5ce14 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, cryptography
, suds-jurko
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "transip";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "benkonrath";
repo = "transip-api";
rev = "v${version}";
hash = "sha256-J/zcDapry8pm1zozzCDzrQED7vvCR6yoE4NcduBFfZQ=";
};
propagatedBuildInputs = [
requests
cryptography
suds-jurko
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# Constructor tests require network access
"test_constructor"
"testConstructor"
];
pythonImportsCheck = [
"transip"
];
meta = with lib; {
description = "TransIP API Connector";
homepage = "https://github.com/benkonrath/transip-api";
license = licenses.mit;
maintainers = with maintainers; [ flyfloh ];
};
}
|