ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / django-tastypie / default.nix
bloba6c184e2d67e2defa75775b4d2f70271f6a03697
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , python-dateutil
5 , python-mimeparse
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "django-tastypie";
11   version = "0.14.4";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "django-tastypie";
18     repo = pname;
19     rev = "v${version}";
20     hash = "sha256-O/aVi8BshOZmg9WQxrFlBEOXfgyqJKVK/QlEFG3Edqs=";
21   };
23   propagatedBuildInputs = [
24     python-dateutil
25     python-mimeparse
26   ];
28   # Tests requires a Django instance
29   doCheck = false;
31   pythonImportsCheck = [
32     "tastypie"
33   ];
35   meta = with lib; {
36     description = "Utilities and helpers for writing Pylint plugins";
37     homepage = "https://github.com/django-tastypie/django-tastypie";
38     license = licenses.gpl2Only;
39     maintainers = with maintainers; [ fab ];
40   };