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

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

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

  propagatedBuildInputs = [
    beautifulsoup4
    requests
  ];

  pythonImportsCheck = [ "PyLyrics" ];

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

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