python311Packages.django-stubs-ext: refactor

This commit is contained in:
Fabian Affolter
2024-01-08 23:23:24 +01:00
parent c63cf0c8b0
commit e56a429836
@@ -4,13 +4,14 @@
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools
, typing-extensions
}:
buildPythonPackage rec {
pname = "django-stubs-ext";
version = "4.2.7";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -19,6 +20,10 @@ buildPythonPackage rec {
hash = "sha256-UZNCrAhJzaFVl0bJpWPwP/mfY2sOvnwUt16BagDf3cM=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
django
typing-extensions
@@ -35,6 +40,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Extensions and monkey-patching for django-stubs";
homepage = "https://github.com/typeddjango/django-stubs";
changelog = "https://github.com/typeddjango/django-stubs/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ elohmeier ];
};