1 { lib, buildPythonPackage, fetchFromGitHub, ua-parser }:
3 buildPythonPackage rec {
7 # PyPI is missing devices.json
8 src = fetchFromGitHub {
10 repo = "python-user-agents";
12 sha256 = "0pcbjqj21c2ixhl414bh2h8khi8y1igzfpkyqwan1pakix0lq45a";
15 propagatedBuildInputs = [ ua-parser ];
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 ];