1{ lib
2, buildPythonPackage
3, fetchPypi
4, django
5}:
6
7buildPythonPackage rec {
8 pname = "pymemoize";
9 version = "1.0.3";
10
11 src = fetchPypi {
12 inherit version;
13 pname = "PyMemoize";
14 sha256 = "0yqr60hm700zph6nv8wb6yp2s0i08mahxvw98bvkmw5ijbsviiq7";
15 };
16
17 nativeCheckInputs = [ django ];
18
19 # 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
20 doCheck = false;
21
22 meta = with lib; {
23 description = "Simple Python cache and memoizing module";
24 homepage = "https://github.com/mikeboers/PyMemoize";
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ mmai ];
27 };
28}
29