Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pythonPackages.user-agents: init at 1.1.0

+51
+23
pkgs/development/python-modules/ua-parser/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi, pyyaml }: 2 + 3 + buildPythonPackage 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 + }
+24
pkgs/development/python-modules/user-agents/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchFromGitHub, ua-parser }: 2 + 3 + buildPythonPackage rec { 4 + pname = "user-agents"; 5 + version = "1.1.0"; 6 + 7 + # PyPI is missing devices.json 8 + src = fetchFromGitHub { 9 + owner = "selwin"; 10 + repo = "python-user-agents"; 11 + rev = "v${version}"; 12 + sha256 = "14kxd780zhp8718xr1z63xffaj3bvxgr4pldh9sv943m4hvi0gw5"; 13 + }; 14 + 15 + propagatedBuildInputs = [ ua-parser ]; 16 + 17 + meta = with stdenv.lib; { 18 + description = "A Python library to identify devices by parsing user agent strings"; 19 + homepage = https://github.com/selwin/python-user-agents; 20 + license = licenses.mit; 21 + platforms = platforms.unix; 22 + maintainers = with maintainers; [ dotlambda ]; 23 + }; 24 + }
+4
pkgs/top-level/python-packages.nix
··· 18134 18134 18135 18135 u-msgpack-python = callPackage ../development/python-modules/u-msgpack-python { }; 18136 18136 18137 + ua-parser = callPackage ../development/python-modules/ua-parser { }; 18138 + 18137 18139 ukpostcodeparser = callPackage ../development/python-modules/ukpostcodeparser { }; 18138 18140 18139 18141 umalqurra = buildPythonPackage rec { ··· 18353 18355 maintainers = with maintainers; [ profpatsch ]; 18354 18356 }; 18355 18357 }; 18358 + 18359 + user-agents = callPackage ../development/python-modules/user-agents { }; 18356 18360 18357 18361 pyuv = buildPythonPackage rec { 18358 18362 name = "pyuv-1.2.0";