nixpkgs/pkgs/development/python-modules/pylyrics/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

31 lines
728 B
Nix

{ lib, buildPythonPackage, fetchPypi, beautifulsoup4, requests }:
buildPythonPackage rec {
pname = "pylyrics";
version = "1.1.0";
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 = "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 ];
};
}