python312Packages.django-modeltranslation: 0.19.12 -> 0.19.13 (#392437)
This commit is contained in:
@@ -1,34 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
django,
|
||||
django-stubs,
|
||||
pytestCheckHook,
|
||||
django,
|
||||
fetchFromGitHub,
|
||||
parameterized,
|
||||
pytest-cov-stub,
|
||||
pytest-django,
|
||||
parameterized,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
let
|
||||
# 0.18.12 was yanked from PyPI, it refers to this issue:
|
||||
# https://github.com/deschler/django-modeltranslation/issues/701
|
||||
version = "0.19.12";
|
||||
in
|
||||
buildPythonPackage {
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-modeltranslation";
|
||||
inherit version;
|
||||
version = "0.19.13";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deschler";
|
||||
repo = "django-modeltranslation";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-j5IKAjGes1EUNX9XE1RAPkGJGviABa4VFl789Mj2dyc=";
|
||||
hash = "sha256-mn3dGSJbujULPT/PBAVvd1hlCukMItC4Z8dIZ+MWZ2w=";
|
||||
};
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [ django ];
|
||||
dependencies = [ django ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
django-stubs
|
||||
@@ -38,9 +38,12 @@ buildPythonPackage {
|
||||
parameterized
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "modeltranslation" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Translates Django models using a registration approach";
|
||||
homepage = "https://github.com/deschler/django-modeltranslation";
|
||||
changelog = "https://github.com/deschler/django-modeltranslation/blob/v${src.tag}/CHANGELOG.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ augustebaum ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user