Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / spiderpy / default.nix
blob1747e8609924c4dc374b682d56d88d82cbf1d03d
1 { lib
2 , buildPythonPackage
3 , isPy27
4 , fetchFromGitHub
5 , poetry-core
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "spiderpy";
11   version = "1.7.2";
12   format = "pyproject";
14   disabled = isPy27;
16   src = fetchFromGitHub {
17     owner = "peternijssen";
18     repo = "spiderpy";
19     rev = version;
20     hash = "sha256-Yujy8HSMbK2DQ/913r2c74hKPYDfcHFKq04ysqxG+go=";
21   };
23   nativeBuildInputs = [
24     poetry-core
25   ];
27   propagatedBuildInputs = [
28     requests
29   ];
31   # tests don't mock remote resources
32   doCheck = false;
34   pythonImportsCheck = [ "spiderpy.spiderapi" ];
36   meta = with lib; {
37     description = "Unofficial Python wrapper for the Spider API";
38     homepage = "https://www.github.com/peternijssen/spiderpy";
39     license = licenses.mit;
40     maintainers = with maintainers; [ dotlambda ];
41   };