mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 12:23:55 +00:00
Merge pull request #111715 from r-ryantm/auto-update/python3.7-django-cache-url
python37Packages.django-cache-url: 3.1.2 -> 3.2.2
This commit is contained in:
commit
279e66e106
@ -1,29 +1,29 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.1.2";
|
||||
version = "3.2.2";
|
||||
pname = "django-cache-url";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d0ee0d6c5daab92787bff47a4a6f5a6cf97c3c80d81a990820b2af16e12ad65a";
|
||||
src = fetchFromGitHub {
|
||||
owner = "epicserve";
|
||||
repo = "django-cache-url";
|
||||
rev = "v${version}";
|
||||
sha256 = "0fxma2w6zl3cfl6wnynmlmp8snks67ffz4jcq4qmdc65xv1l204l";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests
|
||||
postPatch = ''
|
||||
# disable coverage tests
|
||||
sed -i '/--cov/d' setup.cfg
|
||||
'';
|
||||
|
||||
# tests not included with pypi release
|
||||
doCheck = false;
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ghickman/django-cache-url";
|
||||
homepage = "https://github.com/epicserve/django-cache-url";
|
||||
description = "Use Cache URLs in your Django application";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
|
Loading…
Reference in New Issue
Block a user