2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2018-10-29 14:29:27 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
version = "0.1.2";
|
|
|
|
pname = "vultr";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "spry-group";
|
|
|
|
repo = "python-vultr";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2018-10-29 14:29:27 +01:00
|
|
|
sha256 = "1qjvvr2v9gfnwskdl0ayazpcmiyw9zlgnijnhgq9mcri5gq9jw5h";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# Tests disabled. They fail because they try to access the network
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-29 14:29:27 +01:00
|
|
|
description = "Vultr.com API Client";
|
|
|
|
homepage = "https://github.com/spry-group/python-vultr";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lihop ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|