My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/anybadge/default.nix

36 lines
761 B

{ lib
, fetchFromGitHub
, buildPythonPackage
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "anybadge";
version = "1.9.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "jongracecox";
repo = pname;
rev = "v${version}";
sha256 = "sha256-9C1oPZcXjrGwvkx20E+xPGje+ATD9HwOCWWn/pg+98Q=";
};
# setup.py reads its version from the TRAVIS_TAG environment variable
TRAVIS_TAG = "v${version}";
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"anybadge"
];
meta = with lib; {
description = "Python tool for generating badges for your projects";
homepage = "https://github.com/jongracecox/anybadge";
license = licenses.mit;
maintainers = with maintainers; [ fabiangd ];
};
}