depot/third_party/nixpkgs/pkgs/development/python-modules/ryd-client/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

32 lines
662 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
requests,
}:
buildPythonPackage rec {
pname = "ryd-client";
version = "0.0.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-PxrVdVw+dAkF8WWzYyg2/B5CFurNPA5XRNtH9uu/SiY=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# no tests
doCheck = false;
pythonImportsCheck = [ "ryd_client" ];
meta = {
description = "Python client library for the Return YouTube Dislike API";
homepage = "https://github.com/bbilly1/ryd-client";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ericthemagician ];
};
}