python3Packages.adbutils: init at 2.12.0 (#525635)
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
deprecation,
|
||||
retry2,
|
||||
pillow,
|
||||
pbr,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "adbutils";
|
||||
version = "2.12.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openatx";
|
||||
repo = "adbutils";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-zJz4fBekKOUeqBBfBPgGnHXVEKddelqReAQ2CEblObs=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
env = {
|
||||
PBR_VERSION = finalAttrs.version;
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||
|
||||
dependencies = [
|
||||
pbr
|
||||
deprecation
|
||||
pillow
|
||||
requests
|
||||
retry2
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "adbutils" ];
|
||||
|
||||
meta = {
|
||||
description = "Pure python adb library for google adb service";
|
||||
homepage = "https://github.com/openatx/adbutils";
|
||||
changelog = "https://github.com/openatx/adbutils/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dshatz ];
|
||||
};
|
||||
})
|
||||
@@ -85,6 +85,8 @@ self: super: with self; {
|
||||
|
||||
adblock = callPackage ../development/python-modules/adblock { };
|
||||
|
||||
adbutils = callPackage ../development/python-modules/adbutils { };
|
||||
|
||||
add-trailing-comma = callPackage ../development/python-modules/add-trailing-comma { };
|
||||
|
||||
addict = callPackage ../development/python-modules/addict { };
|
||||
|
||||
Reference in New Issue
Block a user