3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.anybadge: 1.7.0 -> 1.8.0

This commit is contained in:
Fabian Affolter 2021-11-11 22:27:08 +01:00
parent 2de888a972
commit 8deb742e55

View file

@ -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 ];
};
}