nixpkgs-suyu/pkgs/development/python-modules/robot-detection/default.nix
Peter Simons 131910992b python-HyperKitty: initial version 1.2.2
Package the mail archiver for GNU Mailman. I liberally borrowed code
from @globin's repository [1].

[1] https://github.com/mayflower/nixexprs/tree/master/pkgs/python
2019-08-30 14:25:13 +02:00

22 lines
542 B
Nix

{ 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;
};
}