From aa86d488cf8343f5efd53897bad2c69829aa3b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Sat, 24 Oct 2020 14:10:36 +0200 Subject: [PATCH] python3Packages.lyricwikia: init at 0.1.11 --- .../python-modules/lyricwikia/default.nix | 20 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/python-modules/lyricwikia/default.nix diff --git a/pkgs/development/python-modules/lyricwikia/default.nix b/pkgs/development/python-modules/lyricwikia/default.nix new file mode 100644 index 000000000000..35c4b8439b62 --- /dev/null +++ b/pkgs/development/python-modules/lyricwikia/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchPypi, buildPythonPackage, pytestrunner, six, beautifulsoup4, requests, }: +buildPythonPackage rec { + pname = "lyricwikia"; + version = "0.1.11"; + src = fetchPypi { + inherit pname version; + sha256 = "0l5lkvr3299x79i7skdiggp67rzgax3s00psd1zqkxfysq27jvc8"; + }; + buildInputs = [ pytestrunner ]; + propagatedBuildInputs = [ six beautifulsoup4 requests ]; + # upstream has no code tests + doCheck = false; + meta = with stdenv.lib; { + homepage = "https://github.com/enricobacis/lyricwikia"; + maintainers = [ maintainers.kmein ]; + description = "LyricWikia API for song lyrics"; + license = licenses.mit; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4928fdd7c16e..7a4060728320 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3516,6 +3516,8 @@ in { lxml = callPackage ../development/python-modules/lxml { inherit (pkgs) libxml2 libxslt zlib; }; + lyricwikia = callPackage ../development/python-modules/lyricwikia { }; + lz4 = self.python-lz4; # alias 2018-12-05 lzstring = callPackage ../development/python-modules/lzstring { };