fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
28 lines
568 B
Nix
28 lines
568 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "robot-detection";
|
|
version = "0.4";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1xd2jm3yn31bnk1kqzggils2rxj26ylxsfz3ap7bhr3ilhnbg3rx";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
# no tests in archive
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Library for detecting if a HTTP User Agent header is likely to be a bot";
|
|
homepage = "https://github.com/rory/robot-detection";
|
|
license = licenses.gpl3Plus;
|
|
};
|
|
}
|