python3Packages.django-rich: init at 2.2.0
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
django,
|
||||
rich,
|
||||
|
||||
# tests
|
||||
coverage,
|
||||
pytest-django,
|
||||
pytest-randomly,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "django-rich";
|
||||
version = "2.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "adamchainz";
|
||||
repo = "django-rich";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Nd787s55ozqiSGdU8/2S3xbPF0rJuLTyvGqs8Fhu3n8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
django
|
||||
rich
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
coverage
|
||||
pytest-django
|
||||
pytest-randomly
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "django_rich" ];
|
||||
|
||||
meta = {
|
||||
description = "Extensions for using Rich with Django";
|
||||
homepage = "https://github.com/adamchainz/django-rich";
|
||||
changelog = "https://github.com/adamchainz/django-rich/blob/${finalAttrs.version}/CHANGELOG.rst";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ kilyanni ];
|
||||
};
|
||||
})
|
||||
@@ -4358,6 +4358,8 @@ self: super: with self; {
|
||||
|
||||
django-reversion = callPackage ../development/python-modules/django-reversion { };
|
||||
|
||||
django-rich = callPackage ../development/python-modules/django-rich { };
|
||||
|
||||
django-rosetta = callPackage ../development/python-modules/django-rosetta { };
|
||||
|
||||
django-rq = callPackage ../development/python-modules/django-rq { };
|
||||
|
||||
Reference in New Issue
Block a user