nixpkgs/pkgs/development/python-modules/pylyrics/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

32 lines
737 B
Nix

{ 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 = "A Pythonic Implementation of lyrics.wikia.com for getting lyrics of songs ";
homepage = "https://github.com/geekpradd/PyLyrics";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}