mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-06 21:33:45 +00:00
32 lines
683 B
Nix
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 ];
|
|
};
|
|
}
|