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