transip: init at 2.0.0

authored by

Florian and committed by
Frederik Rietdijk
a6147062 1c94a83a

+41
+39
pkgs/development/python-modules/transip/default.nix
··· 1 + { stdenv 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , requests 5 + , cryptography 6 + , suds-jurko 7 + , pytest 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "transip-api"; 12 + version = "2.0.0"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "benkonrath"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + sha256 = "153x8ph7cp432flaqiy2zgp060ddychcqcrssxkcmjvbm86xrz17"; 19 + }; 20 + 21 + checkInputs = [ pytest ]; 22 + 23 + # Constructor Tests require network access 24 + checkPhase = '' 25 + pytest --deselect=tests/service_tests/test_domain.py::TestDomainService::test_constructor \ 26 + --deselect tests/service_tests/test_vps.py::TestVPSService::testConstructor \ 27 + --deselect tests/service_tests/test_webhosting.py::TestWebhostingService::testConstructor 28 + ''; 29 + 30 + 31 + propagatedBuildInputs = [ requests cryptography suds-jurko ]; 32 + 33 + meta = with stdenv.lib; { 34 + description = "TransIP API Connector"; 35 + homepage = https://github.com/benkonrath/transip-api; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ flyfloh ]; 38 + }; 39 + }
+2
pkgs/top-level/python-packages.nix
··· 6802 6802 6803 6803 tldextract = callPackage ../development/python-modules/tldextract { }; 6804 6804 6805 + transip = callPackage ../development/python-modules/transip { }; 6806 + 6805 6807 pyemd = callPackage ../development/python-modules/pyemd { }; 6806 6808 6807 6809 pulp = callPackage ../development/python-modules/pulp { };