about summary refs log tree commit diff
path: root/pkgs/development/python-modules/robot-detection/default.nix
blob: 81428b44ad98d370a87e8829dc372bee12f6c2bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, buildPythonPackage, fetchPypi, six }:

buildPythonPackage rec {
  pname = "robot-detection";
  version = "0.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1xd2jm3yn31bnk1kqzggils2rxj26ylxsfz3ap7bhr3ilhnbg3rx";
  };

  propagatedBuildInputs = [ six ];

  # no tests in archive
  doCheck = false;

  meta = with stdenv.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;
  };
}