1{ lib, buildPythonPackage, fetchPypi, pyyaml }:
2
3buildPythonPackage rec {
4 pname = "ua-parser";
5 version = "0.10.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0csh307zfz666kkk5idrw3crj1x8q8vsqgwqil0r1n1hs4p7ica7";
10 };
11
12 buildInputs = [ pyyaml ];
13
14 doCheck = false; # requires files from uap-core
15
16 meta = with lib; {
17 description = "A python implementation of the UA Parser";
18 homepage = "https://github.com/ua-parser/uap-python";
19 license = licenses.asl20;
20 platforms = platforms.unix;
21 maintainers = with maintainers; [ dotlambda ];
22 };
23}