Files
Florian Brandes 92ab9976a2 python3packages.httpagentparser: 1.9.5 -> 1.9.9
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2026-03-08 15:34:30 +01:00

32 lines
683 B
Nix

{
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 ];
};
}