uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
51
pkgs/development/python-modules/twitchapi/default.nix
Normal file
51
pkgs/development/python-modules/twitchapi/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, aiohttp
|
||||
, python-dateutil
|
||||
, requests
|
||||
, typing-extensions
|
||||
, websockets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twitchapi";
|
||||
version = "2.5.4";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "twitchAPI";
|
||||
inherit version;
|
||||
hash = "sha256-uNXET3V3r3f6c72IF3DEdXfQlrgkn2w5f4ksKBOsihg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
python-dateutil
|
||||
requests
|
||||
typing-extensions
|
||||
websockets
|
||||
];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"twitchAPI.eventsub"
|
||||
"twitchAPI.oauth"
|
||||
"twitchAPI.pubsub"
|
||||
"twitchAPI.twitch"
|
||||
"twitchAPI.types"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of the Twitch Helix API, its Webhook, PubSub and EventSub";
|
||||
homepage = "https://github.com/Teekeks/pyTwitchAPI";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda wolfangaukang ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue