depot/third_party/nixpkgs/pkgs/development/python-modules/httpagentparser/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

26 lines
615 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "httpagentparser";
version = "1.9.2";
src = fetchPypi {
inherit pname version;
sha256 = "a190dfdc5e63b2f1c87729424b19cbc49263d6a1fb585a16ac1c9d9ce127a4bf";
};
# 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 ];
};
}