depot/third_party/nixpkgs/pkgs/development/python-modules/pyaxmlparser/default.nix

26 lines
764 B
Nix
Raw Normal View History

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