depot/third_party/nixpkgs/pkgs/development/python-modules/python-trovo/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

32 lines
653 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "python-trovo";
version = "0.1.6";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-g1RDHSNGbGT1G2ej7A8WzyR17FaNPySfsAuKbHddmtQ=";
};
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 ];
};
}