2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
buildPythonPackage,
|
|
|
|
requests,
|
|
|
|
six,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
pname = "dopy";
|
2021-03-09 03:18:52 +00:00
|
|
|
version = "2016-01-04";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "Wiredcraft";
|
|
|
|
repo = "dopy";
|
|
|
|
rev = "cb443214166a4e91b17c925f40009ac883336dc3";
|
2021-03-09 03:18:52 +00:00
|
|
|
sha256 = "0ams289qcgna96aak96jbz6wybs6qb95h2gn8lb4lmx2p5sq4q56";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
# contains no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "dopy" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with pkgs.lib; {
|
|
|
|
description = "Digital Ocean API python wrapper";
|
|
|
|
homepage = "https://github.com/Wiredcraft/dopy";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lihop ];
|
|
|
|
};
|
|
|
|
}
|