summary refs log tree commit diff
path: root/pkgs/development/python-modules/pymemoize/default.nix
blob: f66a6ef702b0349714c934922201fb44df38d393 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildPythonPackage
, fetchPypi
, django
}:

buildPythonPackage rec {
  pname = "pymemoize";
  version = "1.0.3";

  src = fetchPypi {
    inherit version;
    pname = "PyMemoize";
    sha256 = "0yqr60hm700zph6nv8wb6yp2s0i08mahxvw98bvkmw5ijbsviiq7";
  };

  checkInputs = [ django ];

  # 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
  doCheck = false;

  meta = with lib; {
    description = "Simple Python cache and memoizing module";
    homepage = "https://github.com/mikeboers/PyMemoize";
    license = licenses.bsd3;
    maintainers = with maintainers; [ mmai ];
  };
}