mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
python310Packages.django-tastypie: init at 0.14.4
This commit is contained in:
parent
3e9e7fb9a1
commit
b959e05dc7
41
pkgs/development/python-modules/django-tastypie/default.nix
Normal file
41
pkgs/development/python-modules/django-tastypie/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python-dateutil
|
||||
, python-mimeparse
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-tastypie";
|
||||
version = "0.14.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "django-tastypie";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-O/aVi8BshOZmg9WQxrFlBEOXfgyqJKVK/QlEFG3Edqs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil
|
||||
python-mimeparse
|
||||
];
|
||||
|
||||
# Tests requires a Django instance
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"tastypie"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities and helpers for writing Pylint plugins";
|
||||
homepage = "https://github.com/django-tastypie/django-tastypie";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -2394,6 +2394,8 @@ in {
|
||||
|
||||
django-taggit = callPackage ../development/python-modules/django-taggit { };
|
||||
|
||||
django-tastypie = callPackage ../development/python-modules/django-tastypie { };
|
||||
|
||||
django-timezone-field = callPackage ../development/python-modules/django-timezone-field { };
|
||||
|
||||
django_treebeard = callPackage ../development/python-modules/django_treebeard { };
|
||||
|
Loading…
Reference in New Issue
Block a user