python3Packages.httpagentparser: init at 1.9.1

This commit is contained in:
florian on nixos (Florian Brandes) 2022-01-16 14:45:52 +01:00
parent bed1dbe52f
commit bc53afc574
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "httpagentparser";
version = "1.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "73Y9MZk912GCWs7myLNL4yuVzxZ10cc8PNNfnlKDGyY=";
};
# PyPi version does not include test directory
doCheck = false;
pythonImportsCheck = [ "httpagentparser" ];
meta = with lib; {
homepage = "https://github.com/shon/httpagentparser";
description = "Extracts OS Browser etc information from http user agent string";
license = licenses.mit;
maintainers = with maintainers; [ gador ];
};
}

View file

@ -3731,6 +3731,8 @@ in {
httmock = callPackage ../development/python-modules/httmock { };
httpagentparser = callPackage ../development/python-modules/httpagentparser { };
httpauth = callPackage ../development/python-modules/httpauth { };
httpbin = callPackage ../development/python-modules/httpbin { };