depot/third_party/nixpkgs/pkgs/development/python-modules/spiderpy/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

36 lines
714 B
Nix

{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "spiderpy";
version = "1.5.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "peternijssen";
repo = "spiderpy";
rev = version;
sha256 = "1nbfjqwiyyl7lhkb4rvickxiy9nwynr2sxr1hpyv0vm09h6q8hsc";
};
propagatedBuildInputs = [
requests
];
# no unit tests implemented
doCheck = false;
pythonImportsCheck = [ "spiderpy.spiderapi" ];
meta = with lib; {
description = "Unofficial Python wrapper for the Spider API";
homepage = "https://www.github.com/peternijssen/spiderpy";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}