pythonPackages.dopy: add python importsCheck

This commit is contained in:
Sandro Jäckel 2021-03-07 20:37:20 +01:00
parent c878b14107
commit d5106e90da
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -5,18 +5,22 @@
}:
buildPythonPackage {
version = "2016-01-04";
pname = "dopy";
version = "2016-01-04";
src = pkgs.fetchFromGitHub {
owner = "Wiredcraft";
repo = "dopy";
rev = "cb443214166a4e91b17c925f40009ac883336dc3";
sha256 ="0ams289qcgna96aak96jbz6wybs6qb95h2gn8lb4lmx2p5sq4q56";
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";