blob: dcb857e53b8e9ef13bad4522e63b84099527237b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "httpagentparser";
version = "1.9.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-U879nWWZD2/lnAN4ytjqG53493DS6L2dh2LtrgM76Ao=";
};
# 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 ];
};
}
|