python3Packages.anybadge: init at 1.7.0
This commit is contained in:
parent
612a8fa189
commit
1f7711f0dd
27
pkgs/development/python-modules/anybadge/default.nix
Normal file
27
pkgs/development/python-modules/anybadge/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { })
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user