evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / django-tastypie / default.nix
blob1ed2dbc4fe6b384ef6a795134860c8478d069ba8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   python-dateutil,
6   python-mimeparse,
7   pythonOlder,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "django-tastypie";
13   version = "0.14.7";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
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   };
25   build-system = [ setuptools ];
27   dependencies = [
28     python-dateutil
29     python-mimeparse
30   ];
32   # Tests requires a Django instance
33   doCheck = false;
35   pythonImportsCheck = [ "tastypie" ];
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   };