1{ stdenv, buildPythonPackage, fetchPypi, pyyaml }: 2 3buildPythonPackage rec { 4 pname = "ua-parser"; 5 version = "0.7.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1p8siba0rnb5nsl354fd5fc4751d5ybw7hgnd56yn8dncxdb1bqa"; 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}