summary refs log tree commit diff
path: root/pkgs/development/python-modules/vultr/default.nix
blob: 975e4098112ab21dc371e3b3b9464e4eb67bebee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:

buildPythonPackage rec {
  version = "0.1.2";
  pname = "vultr";

  src = fetchFromGitHub {
      owner = "spry-group";
      repo = "python-vultr";
      rev = version;
      sha256 = "1qjvvr2v9gfnwskdl0ayazpcmiyw9zlgnijnhgq9mcri5gq9jw5h";
  };

  propagatedBuildInputs = [ requests ];

  # Tests disabled. They fail because they try to access the network
  doCheck = false;

  meta = with lib; {
    description = "Vultr.com API Client";
    homepage = "https://github.com/spry-group/python-vultr";
    license = licenses.mit;
    maintainers = with maintainers; [ lihop ];
  };

}