snac2: 2.68 -> 2.70 (#379043)
[NixPkgs.git] / pkgs / development / python-modules / robot-detection / default.nix
blob0e582aa3867b703f8f7692e3dc3a792ddb502958
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   six,
6 }:
8 buildPythonPackage rec {
9   pname = "robot-detection";
10   version = "0.4";
11   format = "setuptools";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "1xd2jm3yn31bnk1kqzggils2rxj26ylxsfz3ap7bhr3ilhnbg3rx";
16   };
18   propagatedBuildInputs = [ six ];
20   # no tests in archive
21   doCheck = false;
23   meta = with lib; {
24     description = "Library for detecting if a HTTP User Agent header is likely to be a bot";
25     homepage = "https://github.com/rory/robot-detection";
26     license = licenses.gpl3Plus;
27   };