Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / django-cache-url / default.nix
blobd2167350874c7b303c16f7006eae7f4103a6e32a
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   version = "3.2.2";
9   format = "setuptools";
10   pname = "django-cache-url";
12   src = fetchFromGitHub {
13     owner = "epicserve";
14     repo = "django-cache-url";
15     rev = "v${version}";
16     sha256 = "0fxma2w6zl3cfl6wnynmlmp8snks67ffz4jcq4qmdc65xv1l204l";
17   };
19   postPatch = ''
20     # disable coverage tests
21     sed -i '/--cov/d' setup.cfg
22   '';
24   nativeCheckInputs = [ pytestCheckHook ];
26   meta = with lib; {
27     homepage = "https://github.com/epicserve/django-cache-url";
28     description = "Use Cache URLs in your Django application";
29     license = licenses.mit;
30     maintainers = [ ];
31   };