9 buildPythonPackage rec {
13 format = "setuptools";
15 src = fetchFromGitHub {
19 fetchSubmodules = true;
20 hash = "sha256-GiuGPnyYL0HQ/J2OpDTD1/panZCuzKtD3mKW5op5lXA=";
23 patches = [ ./dont-fetch-submodule.patch ];
25 nativeBuildInputs = [ pyyaml ];
27 nativeCheckInputs = [ pytestCheckHook ];
31 rm ua_parser/__init__.py
34 pythonImportsCheck = [ "ua_parser" ];
37 description = "Python implementation of the UA Parser";
38 homepage = "https://github.com/ua-parser/uap-python";
39 license = licenses.asl20;
40 platforms = platforms.unix;
41 maintainers = with maintainers; [ dotlambda ];