mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
0215034f25
when they already rely on SRI hashes.
33 lines
651 B
Nix
33 lines
651 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;
|
|
hash = "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 ];
|
|
};
|
|
}
|