about summary refs log tree commit diff
path: root/pkgs/development/python-modules/digitalocean/default.nix
blob: 1d36f7b5486ee3dd1a9ecc47702030ceec58b471 (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
{ stdenv, buildPythonPackage, fetchPypi, requests }:

buildPythonPackage rec {
  pname = "python-digitalocean";
  version = "1.13.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "06391cf0b253c8b4a5a10b3a4b7b7808b890a1d1e3b43d5ce3b5293a9c77af6b";
  };

  propagatedBuildInputs = [ requests ];

  # Package doesn't distribute tests.
  doCheck = false;

  meta = with stdenv.lib; {
    description = "digitalocean.com API to manage Droplets and Images";
    homepage = https://pypi.python.org/pypi/python-digitalocean;
    license = licenses.lgpl3;
    maintainers = with maintainers; [ teh ];
  };
}