depot/third_party/nixpkgs/pkgs/development/python-modules/django-cache-url/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

31 lines
631 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
version = "3.1.2";
pname = "django-cache-url";
src = fetchPypi {
inherit pname version;
sha256 = "d0ee0d6c5daab92787bff47a4a6f5a6cf97c3c80d81a990820b2af16e12ad65a";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest tests
'';
# tests not included with pypi release
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://github.com/ghickman/django-cache-url";
description = "Use Cache URLs in your Django application";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}