1{
2 pkgs,
3 buildPythonPackage,
4 requests,
5 six,
6}:
7
8buildPythonPackage {
9 pname = "dopy";
10 version = "2016-01-04";
11 format = "setuptools";
12
13 src = pkgs.fetchFromGitHub {
14 owner = "Wiredcraft";
15 repo = "dopy";
16 rev = "cb443214166a4e91b17c925f40009ac883336dc3";
17 sha256 = "0ams289qcgna96aak96jbz6wybs6qb95h2gn8lb4lmx2p5sq4q56";
18 };
19
20 propagatedBuildInputs = [
21 requests
22 six
23 ];
24
25 # contains no tests
26 doCheck = false;
27 pythonImportsCheck = [ "dopy" ];
28
29 meta = with pkgs.lib; {
30 description = "Digital Ocean API python wrapper";
31 homepage = "https://github.com/Wiredcraft/dopy";
32 license = licenses.mit;
33 maintainers = with maintainers; [ lihop ];
34 };
35}