Merge pull request #126792 from dotlambda/spiderpy-init

python3Packages.spiderpy: init at 1.5.0
This commit is contained in:
Fabian Affolter 2021-06-14 09:49:57 +02:00 committed by GitHub
commit 557060a776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 1 deletions

View file

@ -0,0 +1,36 @@
{ 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 ];
};
}

View file

@ -794,7 +794,7 @@
"spaceapi" = ps: with ps; [ aiohttp-cors ];
"spc" = ps: with ps; [ ]; # missing inputs: pyspcwebgw
"speedtestdotnet" = ps: with ps; [ speedtest-cli ];
"spider" = ps: with ps; [ ]; # missing inputs: spiderpy
"spider" = ps: with ps; [ spiderpy ];
"splunk" = ps: with ps; [ ]; # missing inputs: hass_splunk
"spotify" = ps: with ps; [ aiohttp-cors spotipy ];
"sql" = ps: with ps; [ sqlalchemy ];

View file

@ -593,6 +593,7 @@ in with py.pkgs; buildPythonApplication rec {
"soundtouch"
"spaceapi"
"speedtestdotnet"
"spider"
"spotify"
"sql"
"squeezebox"

View file

@ -7920,6 +7920,8 @@ in {
sphfile = callPackage ../development/python-modules/sphfile { };
spiderpy = callPackage ../development/python-modules/spiderpy { };
spinners = callPackage ../development/python-modules/spinners { };
sphinxcontrib-actdiag = callPackage ../development/python-modules/sphinxcontrib-actdiag { };