mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
python310Packages.python-trovo: init at 0.1.5
This commit is contained in:
parent
ce25f6f2db
commit
b47a7f6bce
32
pkgs/development/python-modules/python-trovo/default.nix
Normal file
32
pkgs/development/python-modules/python-trovo/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-trovo";
|
||||
version = "0.1.5";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-JUJax9nk4NqpMMrbDmQhcy22GIqPha+K4tudQ98PvlE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# No tests found
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "trovoApi" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python wrapper for the Trovo API";
|
||||
homepage = "https://codeberg.org/wolfangaukang/python-trovo";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ wolfangaukang ];
|
||||
};
|
||||
}
|
@ -8225,6 +8225,8 @@ in {
|
||||
|
||||
python-toolbox = callPackage ../development/python-modules/python-toolbox { };
|
||||
|
||||
python-trovo = callPackage ../development/python-modules/python-trovo { };
|
||||
|
||||
python-twitch-client = callPackage ../development/python-modules/python-twitch-client { };
|
||||
|
||||
python-twitter = callPackage ../development/python-modules/python-twitter { };
|
||||
|
Loading…
Reference in New Issue
Block a user