diff --git a/pkgs/development/python-modules/pylyrics/default.nix b/pkgs/development/python-modules/pylyrics/default.nix new file mode 100644 index 000000000000..df511b1c4c0f --- /dev/null +++ b/pkgs/development/python-modules/pylyrics/default.nix @@ -0,0 +1,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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index aa754138daf1..69923489c0ff 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6305,6 +6305,8 @@ in { pylutron-caseta = callPackage ../development/python-modules/pylutron-caseta { }; + pylyrics = callPackage ../development/python-modules/pylyrics { }; + pylxd = callPackage ../development/python-modules/pylxd { }; pylzma = callPackage ../development/python-modules/pylzma { };