Something went wrong. Try again.
lol
Something went wrong. Try again.
683 B · 31 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132{ lib, buildPythonPackage, fetchPypi, setuptools,}:
buildPythonPackage rec { pname = "httpagentparser"; version = "1.9.9"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-I7yvCTJbF692NCg8pk2iP0hcXYO5SB/22IQTp8W8bek="; };
build-system = [ setuptools ];
# PyPi version does not include test directory doCheck = false;
pythonImportsCheck = [ "httpagentparser" ];
meta = { description = "Module to extract OS, Browser, etc. information from http user agent string"; homepage = "https://github.com/shon/httpagentparser"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ gador ]; };}