1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 django, 6}: 7 8buildPythonPackage rec { 9 pname = "pymemoize"; 10 version = "1.0.3"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit version; 15 pname = "PyMemoize"; 16 sha256 = "0yqr60hm700zph6nv8wb6yp2s0i08mahxvw98bvkmw5ijbsviiq7"; 17 }; 18 19 nativeCheckInputs = [ django ]; 20 21 # django.core.exceptions.ImproperlyConfigured: Requested settings, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings 22 doCheck = false; 23 24 meta = with lib; { 25 description = "Simple Python cache and memoizing module"; 26 homepage = "https://github.com/mikeboers/PyMemoize"; 27 license = licenses.bsd3; 28 maintainers = with maintainers; [ mmai ]; 29 }; 30}