about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ryd-client/default.nix
blob: 958a96b2c3b77017d151325338fab713adb5a908 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  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 ];
  };
}