python38Packages.twitch-python: init at 0.0.19
This commit is contained in:
parent
1d7e0a4777
commit
e8001bd5f3
30
pkgs/development/python-modules/twitch-python/default.nix
Normal file
30
pkgs/development/python-modules/twitch-python/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, requests, rx, pytestCheckHook, responses, isPy3k }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "twitch-python";
|
||||||
|
version = "0.0.19";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "b0b02abdd33458e4ffabc632aa6a6779f3599e188819632551353b6c5553f5c5";
|
||||||
|
};
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py --replace "'pipenv'," ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests rx ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook responses ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "twitch" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Twitch module for Python";
|
||||||
|
homepage = "https://github.com/PetterKraabol/Twitch-Python";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ marsam ];
|
||||||
|
};
|
||||||
|
}
|
@ -7927,6 +7927,8 @@ in {
|
|||||||
|
|
||||||
twisted = callPackage ../development/python-modules/twisted { };
|
twisted = callPackage ../development/python-modules/twisted { };
|
||||||
|
|
||||||
|
twitch-python = callPackage ../development/python-modules/twitch-python { };
|
||||||
|
|
||||||
twitter = callPackage ../development/python-modules/twitter { };
|
twitter = callPackage ../development/python-modules/twitter { };
|
||||||
|
|
||||||
twitter-common-collections = callPackage ../development/python-modules/twitter-common-collections { };
|
twitter-common-collections = callPackage ../development/python-modules/twitter-common-collections { };
|
||||||
|
Loading…
Reference in New Issue
Block a user