1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-20 16:39:31 +03:00
nixpkgs/pkgs/development/python-modules/django-cache-url/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
692 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
version = "3.2.2";
format = "setuptools";
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
'';
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
homepage = "https://github.com/epicserve/django-cache-url";
description = "Use Cache URLs in your Django application";
license = licenses.mit;
maintainers = [ ];
};
}