python3Packages.anybadge: init at 1.7.0

This commit is contained in:
Fabian G. Dröge 2021-08-27 07:49:52 +02:00
parent 612a8fa189
commit 1f7711f0dd
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, fetchFromGitHub, buildPythonPackage, pytestCheckHook }:
buildPythonPackage rec {
pname = "anybadge";
version = "1.7.0";
src = fetchFromGitHub {
owner = "jongracecox";
repo = pname;
rev = "v${version}";
sha256 = "1d02fnig04zlrhfqqcf4505vy4p51whl2ifilnx3mkhis9lcwrmr";
};
# setup.py reads its version from the TRAVIS_TAG environment variable
TRAVIS_TAG = "v${version}";
pythonImportsCheck = [ "anybadge" ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "A Python project for generating badges for your projects, with a focus on simplicity and flexibility";
license = licenses.mit;
homepage = "https://github.com/jongracecox/anybadge";
maintainers = [ maintainers.fabiangd ];
};
}

View File

@ -13170,6 +13170,8 @@ with pkgs;
ameba = callPackage ../development/tools/ameba { };
anybadge = with python3Packages; toPythonApplication anybadge;
augeas = callPackage ../tools/system/augeas { };
inherit (callPackage ../tools/admin/ansible { })

View File

@ -477,6 +477,8 @@ in {
anyascii = callPackage ../development/python-modules/anyascii { };
anybadge = callPackage ../development/python-modules/anybadge { };
anyio = callPackage ../development/python-modules/anyio { };
anyjson = callPackage ../development/python-modules/anyjson { };