Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 44 lines 983 B view raw
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.14.7"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "django-tastypie"; 20 repo = "django-tastypie"; 21 rev = "refs/tags/v${version}"; 22 hash = "sha256-bQBq5Wk5P9c+/a5B+LnxG8aCrVK1A3jLsLFK69/UYjo="; 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}