4cb23072fc
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
26 lines
595 B
Nix
26 lines
595 B
Nix
{ 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 ];
|
|
};
|
|
}
|