python3Packages.anybadge: 1.7.0 -> 1.8.0
This commit is contained in:
parent
2de888a972
commit
8deb742e55
1 changed files with 17 additions and 8 deletions
|
@ -1,27 +1,36 @@
|
||||||
{ lib, fetchFromGitHub, buildPythonPackage, pytestCheckHook }:
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, buildPythonPackage
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "anybadge";
|
pname = "anybadge";
|
||||||
version = "1.7.0";
|
version = "1.8.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jongracecox";
|
owner = "jongracecox";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1d02fnig04zlrhfqqcf4505vy4p51whl2ifilnx3mkhis9lcwrmr";
|
sha256 = "sha256-xKHIoV/8qsNMcU5fd92Jjh7d7jTeYN5xakMEjR6qPX8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# setup.py reads its version from the TRAVIS_TAG environment variable
|
# setup.py reads its version from the TRAVIS_TAG environment variable
|
||||||
TRAVIS_TAG = "v${version}";
|
TRAVIS_TAG = "v${version}";
|
||||||
|
|
||||||
pythonImportsCheck = [ "anybadge" ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
pythonImportsCheck = [
|
||||||
|
"anybadge"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Python project for generating badges for your projects, with a focus on simplicity and flexibility";
|
description = "Python tool for generating badges for your projects";
|
||||||
license = licenses.mit;
|
|
||||||
homepage = "https://github.com/jongracecox/anybadge";
|
homepage = "https://github.com/jongracecox/anybadge";
|
||||||
maintainers = [ maintainers.fabiangd ];
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fabiangd ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue