1{ stdenv, buildPythonPackage, fetchPypi, pyyaml }:
2
3buildPythonPackage rec {
4 pname = "ua-parser";
5 version = "0.8.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "97bbcfc9321a3151d96bb5d62e54270247b0e3be0590a6f2ff12329851718dcb";
10 };
11
12 buildInputs = [ pyyaml ];
13
14 doCheck = false; # requires files from uap-core
15
16 meta = with stdenv.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}