mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
39 lines
721 B
Nix
39 lines
721 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
poetry-core,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-trovo";
|
|
version = "0.1.7";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
pname = "python_trovo";
|
|
inherit version;
|
|
hash = "sha256-3EVSF4+nLvvM2RocNM2xz9Us5VrRRTCu/MWCcqwwikw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ poetry-core ];
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
# No tests found
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "trovoApi" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python wrapper for the Trovo API";
|
|
homepage = "https://codeberg.org/wolfangaukang/python-trovo";
|
|
license = licenses.gpl3Only;
|
|
maintainers = [ ];
|
|
};
|
|
}
|