depot/third_party/nixpkgs/pkgs/development/python-modules/dopy/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

30 lines
657 B
Nix

{ pkgs
, buildPythonPackage
, requests
, six
}:
buildPythonPackage {
pname = "dopy";
version = "2016-01-04";
src = pkgs.fetchFromGitHub {
owner = "Wiredcraft";
repo = "dopy";
rev = "cb443214166a4e91b17c925f40009ac883336dc3";
sha256 = "0ams289qcgna96aak96jbz6wybs6qb95h2gn8lb4lmx2p5sq4q56";
};
propagatedBuildInputs = [ requests six ];
# contains no tests
doCheck = false;
pythonImportsCheck = [ "dopy" ];
meta = with pkgs.lib; {
description = "Digital Ocean API python wrapper";
homepage = "https://github.com/Wiredcraft/dopy";
license = licenses.mit;
maintainers = with maintainers; [ lihop ];
};
}