mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
cf5e1d52ea
Diff: https://github.com/django-tastypie/django-tastypie/compare/refs/tags/v0.14.4...v0.14.5 Changelog: https://github.com/django-tastypie/django-tastypie/releases/tag/v0.14.5
43 lines
935 B
Nix
43 lines
935 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, python-dateutil
|
|
, python-mimeparse
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "django-tastypie";
|
|
version = "0.14.5";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "django-tastypie";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-RgYinpo8eVzRaSkcnFkSq+IqpcFt6LCCHkpHyB/7u5M=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://github.com/django-tastypie/django-tastypie/releases/tag/v${version}";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|