1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-29 20:45:29 +03:00
nixpkgs/pkgs/development/python-modules/vultr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
684 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
2021-06-06 17:19:42 +02:00
version = "1.0.1";
pname = "vultr";
src = fetchFromGitHub {
2021-06-06 17:19:42 +02:00
owner = "spry-group";
repo = "python-vultr";
rev = "v${version}";
sha256 = "00lc5hdhchvm0472p03019bp9541d8y2773xkjy8vblq9qhys8q7";
};
2021-06-06 17:19:42 +02:00
propagatedBuildInputs = [
requests
];
# Tests disabled. They fail because they try to access the network
doCheck = false;
2021-06-06 17:19:42 +02:00
pythonImportsCheck = [ "vultr" ];
meta = with lib; {
description = "Vultr.com API Client";
homepage = "https://github.com/spry-group/python-vultr";
license = licenses.mit;
maintainers = with maintainers; [ lihop ];
};
}