at master 826 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "vultr"; 11 version = "1.0.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "spry-group"; 16 repo = "python-vultr"; 17 tag = "v${version}"; 18 hash = "sha256-ByPtIU6Yro28nH2cIzxqgZR0VwpggCsOAXVDBhssjAI="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ requests ]; 24 25 # Tests disabled. They fail because they try to access the network 26 doCheck = false; 27 28 pythonImportsCheck = [ "vultr" ]; 29 30 meta = with lib; { 31 description = "Vultr.com API Client"; 32 homepage = "https://github.com/spry-group/python-vultr"; 33 changelog = "https://github.com/spry-group/python-vultr/releases/tag/${src.tag}"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ lihop ]; 36 }; 37}