depot/third_party/nixpkgs/pkgs/development/python-modules/django-cache-url/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
631 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
version = "3.0.0";
pname = "django-cache-url";
src = fetchPypi {
inherit pname version;
sha256 = "235950e2d7cb16164082167c2974301e2f0fb2313d40bfacc9d24f5b09c3514b";
};
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 ];
};
}