diff --git a/pkgs/development/python-modules/anybadge/default.nix b/pkgs/development/python-modules/anybadge/default.nix index a8aaec9f45b2..bc776e42f07b 100644 --- a/pkgs/development/python-modules/anybadge/default.nix +++ b/pkgs/development/python-modules/anybadge/default.nix @@ -1,27 +1,36 @@ -{ lib, fetchFromGitHub, buildPythonPackage, pytestCheckHook }: +{ lib +, fetchFromGitHub +, buildPythonPackage +, pytestCheckHook +}: buildPythonPackage rec { pname = "anybadge"; - version = "1.7.0"; + version = "1.8.0"; + format = "setuptools"; src = fetchFromGitHub { owner = "jongracecox"; repo = pname; rev = "v${version}"; - sha256 = "1d02fnig04zlrhfqqcf4505vy4p51whl2ifilnx3mkhis9lcwrmr"; + sha256 = "sha256-xKHIoV/8qsNMcU5fd92Jjh7d7jTeYN5xakMEjR6qPX8="; }; # setup.py reads its version from the TRAVIS_TAG environment variable TRAVIS_TAG = "v${version}"; - pythonImportsCheck = [ "anybadge" ]; + checkInputs = [ + pytestCheckHook + ]; - checkInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ + "anybadge" + ]; meta = with lib; { - description = "A Python project for generating badges for your projects, with a focus on simplicity and flexibility"; - license = licenses.mit; + description = "Python tool for generating badges for your projects"; homepage = "https://github.com/jongracecox/anybadge"; - maintainers = [ maintainers.fabiangd ]; + license = licenses.mit; + maintainers = with maintainers; [ fabiangd ]; }; }