about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylyrics/default.nix
blob: 29949d8c088ade2efe6ef3656e8fdc6d4f0c0efa (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
33
34
35
36
37
{
  lib,
  buildPythonPackage,
  fetchPypi,
  beautifulsoup4,
  requests,
}:

buildPythonPackage rec {
  pname = "pylyrics";
  version = "1.1.0";
  format = "setuptools";

  src = fetchPypi {
    pname = "PyLyrics";
    inherit version;
    extension = "zip";
    hash = "sha256-xfNujvDtO0h6kkLONMGfloTkGKW7/9XTZ9wdFgS0zQs=";
  };

  propagatedBuildInputs = [
    beautifulsoup4
    requests
  ];

  pythonImportsCheck = [ "PyLyrics" ];

  # tries to connect to lyrics.wikia.com
  doCheck = false;

  meta = with lib; {
    description = "Pythonic Implementation of lyrics.wikia.com for getting lyrics of songs";
    homepage = "https://github.com/geekpradd/PyLyrics";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}