mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
23 lines
544 B
Nix
23 lines
544 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;
|
|
};
|
|
}
|