1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 python-dateutil, 6 python-mimeparse, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "django-tastypie"; 13 version = "0.15.1"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "django-tastypie"; 20 repo = "django-tastypie"; 21 tag = "v${version}"; 22 hash = "sha256-KmBI8kHcmRfbNIfBEz5pHyseWcWnfP3tq6GAPi4tdhE="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 python-dateutil 29 python-mimeparse 30 ]; 31 32 # Tests requires a Django instance 33 doCheck = false; 34 35 pythonImportsCheck = [ "tastypie" ]; 36 37 meta = with lib; { 38 description = "Utilities and helpers for writing Pylint plugins"; 39 homepage = "https://github.com/django-tastypie/django-tastypie"; 40 changelog = "https://github.com/django-tastypie/django-tastypie/releases/tag/v${version}"; 41 license = licenses.gpl2Only; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}