Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / python-trovo / default.nix
blobd76d5d4a2b97dfe26d8120452fb059b6d3cc91f1
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , poetry-core
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "python-trovo";
11   version = "0.1.7";
12   pyproject = true;
14   disabled = pythonOlder "3.8";
16   src = fetchPypi {
17     pname = "python_trovo";
18     inherit version;
19     hash = "sha256-3EVSF4+nLvvM2RocNM2xz9Us5VrRRTCu/MWCcqwwikw=";
20   };
22   nativeBuildInputs = [
23     poetry-core
24   ];
26   propagatedBuildInputs = [ requests ];
28   # No tests found
29   doCheck = false;
31   pythonImportsCheck = [ "trovoApi" ];
33   meta = with lib; {
34     description = "A Python wrapper for the Trovo API";
35     homepage = "https://codeberg.org/wolfangaukang/python-trovo";
36     license = licenses.gpl3Only;
37     maintainers = with maintainers; [ wolfangaukang ];
38   };