Merge pull request #305451 from r-ryantm/auto-update/python312Packages.apkinspector
python312Packages.apkinspector: 1.2.2 -> 1.2.3
This commit is contained in:
commit
95f8511864
|
@ -1,40 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apkinspector";
|
||||
version = "1.2.2";
|
||||
version = "1.2.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-6n5WCQ6V63kbWT6b7t9PEFbrJpxEg1WOE9XV70tHnGA=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "erev0s";
|
||||
repo = "apkInspector";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-n6uVyN5XBEM/nuN7mvhNRwMUgUT5abOsh3CbhKK6ifY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
# Tests are not available
|
||||
# https://github.com/erev0s/apkInspector/issues/21
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"apkInspector"
|
||||
];
|
||||
pythonImportsCheck = [ "apkInspector" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module designed to provide detailed insights into the zip structure of APK files";
|
||||
mainProgram = "apkInspector";
|
||||
homepage = "https://github.com/erev0s/apkInspector";
|
||||
changelog = "https://github.com/erev0s/apkInspector/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "apkInspector";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue