1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7 requests, 8 cryptography, 9 responses, 10}: 11buildPythonPackage rec { 12 pname = "python-transip"; 13 version = "0.6.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "roaldnefs"; 18 repo = "python-transip"; 19 tag = "v${version}"; 20 hash = "sha256-HjlUwItkR81dyFGfY/YbHXI5k/IWUgzfikw5i4+yNWU="; 21 }; 22 23 build-system = [ 24 setuptools 25 ]; 26 27 dependencies = [ 28 requests 29 cryptography 30 ]; 31 32 pythonImportsCheck = [ 33 "transip" 34 ]; 35 36 nativeCheckInputs = [ 37 responses 38 pytestCheckHook 39 ]; 40 41 meta = { 42 description = "Python wrapper for the TransIP REST API V6"; 43 homepage = "https://github.com/roaldnefs/python-transip"; 44 changelog = "https://github.com/roaldnefs/python-transip/blob/${src.tag}/CHANGELOG.md"; 45 license = lib.licenses.lgpl3; 46 maintainers = [ lib.maintainers.provokateurin ]; 47 }; 48}