My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/django-cache-url/default.nix

31 lines
676 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
version = "3.2.2";
pname = "django-cache-url";
src = fetchFromGitHub {
owner = "epicserve";
repo = "django-cache-url";
rev = "v${version}";
sha256 = "0fxma2w6zl3cfl6wnynmlmp8snks67ffz4jcq4qmdc65xv1l204l";
};
postPatch = ''
# disable coverage tests
sed -i '/--cov/d' setup.cfg
'';
checkInputs = [ pytestCheckHook ];
meta = with lib; {
homepage = "https://github.com/epicserve/django-cache-url";
description = "Use Cache URLs in your Django application";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}