1{ stdenv
2, buildPythonPackage
3, fetchFromGitHub
4, requests
5}:
6
7buildPythonPackage rec {
8 version = "0.1.2";
9 pname = "vultr";
10
11 src = fetchFromGitHub {
12 owner = "spry-group";
13 repo = "python-vultr";
14 rev = version;
15 sha256 = "1qjvvr2v9gfnwskdl0ayazpcmiyw9zlgnijnhgq9mcri5gq9jw5h";
16 };
17
18 propagatedBuildInputs = [ requests ];
19
20 # Tests disabled. They fail because they try to access the network
21 doCheck = false;
22
23 meta = with stdenv.lib; {
24 description = "Vultr.com API Client";
25 homepage = "https://github.com/spry-group/python-vultr";
26 license = licenses.mit;
27 maintainers = with maintainers; [ lihop ];
28 };
29
30}