python.pkgs.user-agents: 1.1.0 -> 2.0

This commit is contained in:
Robert Schütz 2019-04-08 16:41:03 +02:00
parent 4135ad69a1
commit afbf13e738

View File

@ -2,20 +2,18 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "user-agents"; pname = "user-agents";
version = "1.1.0"; version = "2.0";
# PyPI is missing devices.json # PyPI is missing devices.json
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "selwin"; owner = "selwin";
repo = "python-user-agents"; repo = "python-user-agents";
rev = "v${version}"; rev = "v${version}";
sha256 = "14kxd780zhp8718xr1z63xffaj3bvxgr4pldh9sv943m4hvi0gw5"; sha256 = "0ix2yajqdnfj433j50dls90mkmqz8m4fiywxg097zwkkc95wm8s4";
}; };
propagatedBuildInputs = [ ua-parser ]; propagatedBuildInputs = [ ua-parser ];
doCheck = false; # some tests fail due to ua-parser bump to 0.8.0
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A Python library to identify devices by parsing user agent strings"; description = "A Python library to identify devices by parsing user agent strings";
homepage = https://github.com/selwin/python-user-agents; homepage = https://github.com/selwin/python-user-agents;