My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/transip/default.nix

51 lines
915 B

{ 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 ];
};
}