python312Packages.django-tastypie: refactor

This commit is contained in:
Fabian Affolter 2024-04-25 17:51:35 +02:00
parent cac66a13e4
commit abcc81898b
1 changed files with 8 additions and 3 deletions

View File

@ -4,23 +4,28 @@
, python-dateutil
, python-mimeparse
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "django-tastypie";
version = "0.14.7";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "django-tastypie";
repo = pname;
repo = "django-tastypie";
rev = "refs/tags/v${version}";
hash = "sha256-bQBq5Wk5P9c+/a5B+LnxG8aCrVK1A3jLsLFK69/UYjo=";
};
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
python-dateutil
python-mimeparse
];