Skip to content

Commit

Permalink
python3Packages.httpagentparser: init at 1.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gador committed Jan 18, 2022
1 parent bed1dbe commit bc53afc
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/httpagentparser/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit bc53afc

Please sign in to comment.