mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-29 08:30:21 +02:00
Merge pull request #126792 from dotlambda/spiderpy-init
python3Packages.spiderpy: init at 1.5.0
This commit is contained in:
commit
557060a776
36
pkgs/development/python-modules/spiderpy/default.nix
Normal file
36
pkgs/development/python-modules/spiderpy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
|
|
|
@ -593,6 +593,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||
"soundtouch"
|
||||
"spaceapi"
|
||||
"speedtestdotnet"
|
||||
"spider"
|
||||
"spotify"
|
||||
"sql"
|
||||
"squeezebox"
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue