From 8deb742e5537c42d875a33df5e78920d8ef5df49 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Nov 2021 22:27:08 +0100 Subject: [PATCH] python3Packages.anybadge: 1.7.0 -> 1.8.0 --- .../python-modules/anybadge/default.nix | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-) 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 ]; }; }