nixpkgs/pkgs/development/python-modules/pyaxmlparser/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

42 lines
836 B
Nix

{
buildPythonPackage,
lib,
lxml,
click,
fetchFromGitHub,
pytestCheckHook,
asn1crypto,
}:
buildPythonPackage rec {
version = "0.3.31";
format = "setuptools";
pname = "pyaxmlparser";
src = fetchFromGitHub {
owner = "appknox";
repo = "pyaxmlparser";
rev = "v${version}";
hash = "sha256-ZV2PyWQfK9xidzGUz7XPAReaVjlB8tMUKQiXoGcFCGs=";
};
propagatedBuildInputs = [
asn1crypto
click
lxml
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python3 Parser for Android XML file and get Application Name without using Androguard";
mainProgram = "apkinfo";
homepage = "https://github.com/appknox/pyaxmlparser";
# Files from Androguard are licensed ASL 2.0
license = with lib.licenses; [
mit
asl20
];
maintainers = [ ];
};
}